Skip to content

Commit

Permalink
Sync default.semantics (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-leuthaeuser authored May 5, 2022
1 parent b3b618c commit 8917ed1
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/test/resources/default.semantics
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"<operator>.conditional" 2->-1 3->-1
"<operator>.fieldAccess" 1->-1
"<operator>.getElementPtr" 1->-1
"<operator>.incBy 2->1 3->1 4->1"
"<operator>.incBy" 1->1 2->1 3->1 4->1
"<operator>.indexAccess" 1->-1
"<operator>.indirectComputedMemberAccess" 1->-1
"<operator>.indirectFieldAccess" 1->-1
"<operator>.indirectIndexAccess" 1->-1
"<operator>.indirectIndexAccess" 1->-1 2->-1
"<operator>.indirectMemberAccess" 1->-1
"<operator>.indirection" 1->-1
"<operator>.memberAccess" 1->-1
Expand All @@ -32,4 +32,18 @@
"<operator>.postIncrement" 1->1
"<operator>.preDecrement" 1->1
"<operator>.preIncrement" 1->1
"<operator>.sizeOf"
"<operator>.sizeOf"
"free" 1->1
"scanf" 2->2
"strcmp" 1->-1 2->-1

# some of those operators have duplicate mappings due to a typo - see https://github.com/ShiftLeftSecurity/codepropertygraph/pull/1630
# these can be deleted once the typos are fixed
"<operators>.assignmentExponentiation" 2->1 1->1
"<operators>.assignmentModulo" 2->1 1->1
"<operators>.assignmentShiftLeft" 2->1 1->1
"<operators>.assignmentLogicalShiftRight" 2->1 1->1
"<operators>.assignmentArithmeticShiftRight" 2->1 1->1
"<operators>.assignmentAnd" 2->1 1->1
"<operators>.assignmentOr" 2->1 1->1
"<operators>.assignmentXor" 2->1 1->1

0 comments on commit 8917ed1

Please sign in to comment.