Skip to content

CFG for shell script in CodeQL #20856

@rizwanhrizvi

Description

@rizwanhrizvi

Hello, we are looking for methods to extract control flow graph from shell scripts?

We tried getACommand (by calling it multiple times against the same script). However, it seems the sequence of results, which are commands in the target script, does not necessarily follow the order of those commands in the script file (or the run section of workflow file).

Just want to clarify: Are there any support of basic control-flow graph in CodeQL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    acknowledgedGitHub staff acknowledges this issueawaiting-responseThe CodeQL team is awaiting further input or clarification from the original reporter of this issue.questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions