-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shared: Generalize the number of columns in a generated MaD row
- Loading branch information
Showing
6 changed files
with
76 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
csharp/ql/src/utils/modelgenerator/internal/CaptureModelsPrinting.qll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
private import csharp as CS | ||
private import codeql.mad.modelgenerator.internal.ModelPrinting | ||
private import semmle.code.csharp.dataflow.internal.ExternalFlow as ExternalFlow | ||
private import CaptureModels::ModelGeneratorInput as ModelGeneratorInput | ||
|
||
private module ModelPrintingLang implements ModelPrintingLangSig { | ||
class Callable = CS::Callable; | ||
|
||
predicate partialModel = ExternalFlow::partialModel/6; | ||
predicate partialModelRow = ModelGeneratorInput::partialModelRow/2; | ||
|
||
predicate partialNeutralModelRow = ModelGeneratorInput::partialNeutralModelRow/2; | ||
} | ||
|
||
import ModelPrintingImpl<ModelPrintingLang> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters