|
Hi, However, unlike compiled languages, javascript codeql doesn't take build instruction so I was wondering will the way I build my database affect the code-flow (by capturing some dependencies across repositories!)? |
Replies: 1 comment 2 replies
|
When all the repositories are treated as one big code base, it means that our analysis may connect different repos when constructing the call graph (which is a key component in data flow analysis). This may be both a benefit (when a cross-repo call graph edge is correct), but it may also result in false positives (when a cross-repo call graph edge is incorrect, for example if the two repos are completely independent). @github/codeql-javascript can probably weigh in with a few more details, and perhaps give recommendations on which approach to take. |
When all the repositories are treated as one big code base, it means that our analysis may connect different repos when constructing the call graph (which is a key component in data flow analysis). This may be both a benefit (when a cross-repo call graph edge is correct), but it may also result in false positives (when a cross-repo call graph edge is incorrect, for example if the two repos are completely independent). @github/codeql-javascript can probably weigh in with a few more details, and perhaps give recommendations on which approach to take.