OASIS Static Analysis Results Interchange Format (SARIF) TC

  • 1.  Another graph design issue: minimum number of nodes and edges

    Posted 03-30-2018 22:12
    Does a graph have to have any nodes, or any edges? Is it sensible for an empty graph to describe a portion of the program that turns out to be empty? Like, “There aren’t any functions that call function foo ” (it’s dead code).   Larry


  • 2.  RE: [sarif] Another graph design issue: minimum number of nodes and edges

    Posted 04-01-2018 16:25
    Ping on this design question.   From: sarif@lists.oasis-open.org <sarif@lists.oasis-open.org> On Behalf Of Larry Golding (Comcast) Sent: Friday, March 30, 2018 3:10 PM To: sarif@lists.oasis-open.org Subject: [sarif] Another graph design issue: minimum number of nodes and edges   Does a graph have to have any nodes, or any edges? Is it sensible for an empty graph to describe a portion of the program that turns out to be empty? Like, “There aren’t any functions that call function foo ” (it’s dead code).   Larry


  • 3.  Re: [sarif] Another graph design issue: minimum number of nodes and edges

    Posted 04-02-2018 17:43
    Let’s go ahead and permit both an empty graph and a graph of a single node. I cannot think of a practical use for this. But in general, you don’t want to create a design situation when ‘empty’ conditions can’t be explicitly defined, so would prefer not to do so here without a clear reason to forbid it. Get Outlook for iOS From: sarif@lists.oasis-open.org <sarif@lists.oasis-open.org> on behalf of Larry Golding (Comcast) <larrygolding@comcast.net> Sent: Sunday, April 1, 2018 9:23:02 AM To: sarif@lists.oasis-open.org Subject: RE: [sarif] Another graph design issue: minimum number of nodes and edges   Ping on this design question.   From: sarif@lists.oasis-open.org <sarif@lists.oasis-open.org> On Behalf Of Larry Golding (Comcast) Sent: Friday, March 30, 2018 3:10 PM To: sarif@lists.oasis-open.org Subject: [sarif] Another graph design issue: minimum number of nodes and edges   Does a graph have to have any nodes, or any edges? Is it sensible for an empty graph to describe a portion of the program that turns out to be empty? Like, “There aren’t any functions that call function foo ” (it’s dead code).   Larry


  • 4.  RE: [sarif] Another graph design issue: minimum number of nodes and edges

    Posted 04-02-2018 17:48
    Agreed.   From: Michael Fanning <Michael.Fanning@microsoft.com> Sent: Monday, April 2, 2018 10:43 AM To: Larry Golding (Comcast) <larrygolding@comcast.net>; sarif@lists.oasis-open.org Subject: Re: [sarif] Another graph design issue: minimum number of nodes and edges   Let’s go ahead and permit both an empty graph and a graph of a single node. I cannot think of a practical use for this. But in general, you don’t want to create a design situation when ‘empty’ conditions can’t be explicitly defined, so would prefer not to do so here without a clear reason to forbid it.   Get Outlook for iOS From: sarif@lists.oasis-open.org < sarif@lists.oasis-open.org > on behalf of Larry Golding (Comcast) < larrygolding@comcast.net > Sent: Sunday, April 1, 2018 9:23:02 AM To: sarif@lists.oasis-open.org Subject: RE: [sarif] Another graph design issue: minimum number of nodes and edges   Ping on this design question.   From: sarif@lists.oasis-open.org < sarif@lists.oasis-open.org > On Behalf Of Larry Golding (Comcast) Sent: Friday, March 30, 2018 3:10 PM To: sarif@lists.oasis-open.org Subject: [sarif] Another graph design issue: minimum number of nodes and edges   Does a graph have to have any nodes, or any edges? Is it sensible for an empty graph to describe a portion of the program that turns out to be empty? Like, “There aren’t any functions that call function foo ” (it’s dead code).   Larry