Repository navigation
Commit a4131c9
committed
Merge current main (with NVIDIA#577) into feat/christopherk/python-execution-surface-classification
NVIDIA#577 landed on main as 5ee48ef. This branch carries the superset of its TM1
work: the same lexical-counterevidence fix, the window-identity and
execution-surface changes, the NVIDIA#577-only tests ported in 2ba149d, and a
differential check showing every call NVIDIA#577 reports is still reported here.
For the four files that conflict (static_patterns_tool_misuse.py,
static_python_shell_truthiness.py, test_shared_python_ast.py,
test_tool_misuse_python_ast.py) keep this branch's version. No other main
commit touched them since the previous merge. The shared-AST fixture keeps
the input()-before-import subprocess order the review asked for. The other
NVIDIA#577 files merged to this branch's content unchanged.
Signed-off-by: Narendran Raghavan <[email protected]>17 files changed
Lines changed: 2837 additions & 117 deletions
File tree
- src/skillspector
- nodes
- analyzers
- yara_rules
- tests
- integration
- nodes
- analyzers
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| |||
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1004 | 1038 | | |
1005 | 1039 | | |
1006 | 1040 | | |
| |||
1026 | 1060 | | |
1027 | 1061 | | |
1028 | 1062 | | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
1037 | | - | |
| 1063 | + | |
1038 | 1064 | | |
1039 | 1065 | | |
1040 | 1066 | | |
| |||
1047 | 1073 | | |
1048 | 1074 | | |
1049 | 1075 | | |
| 1076 | + | |
1050 | 1077 | | |
1051 | 1078 | | |
| 1079 | + | |
1052 | 1080 | | |
1053 | 1081 | | |
1054 | 1082 | | |
| |||
1070 | 1098 | | |
1071 | 1099 | | |
1072 | 1100 | | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
1081 | 1106 | | |
1082 | 1107 | | |
1083 | 1108 | | |
| |||
1389 | 1414 | | |
1390 | 1415 | | |
1391 | 1416 | | |
| 1417 | + | |
1392 | 1418 | | |
1393 | 1419 | | |
1394 | 1420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| |||
303 | 312 | | |
304 | 313 | | |
305 | 314 | | |
| 315 | + | |
306 | 316 | | |
307 | 317 | | |
308 | 318 | | |
| |||
597 | 607 | | |
598 | 608 | | |
599 | 609 | | |
| 610 | + | |
600 | 611 | | |
601 | 612 | | |
602 | 613 | | |
| |||
614 | 625 | | |
615 | 626 | | |
616 | 627 | | |
| 628 | + | |
| 629 | + | |
617 | 630 | | |
618 | 631 | | |
619 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
620 | 638 | | |
621 | 639 | | |
622 | 640 | | |
| |||
637 | 655 | | |
638 | 656 | | |
639 | 657 | | |
| 658 | + | |
640 | 659 | | |
641 | 660 | | |
642 | 661 | | |
| |||
655 | 674 | | |
656 | 675 | | |
657 | 676 | | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
658 | 680 | | |
659 | 681 | | |
660 | 682 | | |
| |||
934 | 956 | | |
935 | 957 | | |
936 | 958 | | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
937 | 965 | | |
938 | 966 | | |
939 | 967 | | |
| 968 | + | |
| 969 | + | |
940 | 970 | | |
941 | 971 | | |
942 | 972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
954 | | - | |
| 954 | + | |
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
965 | 977 | | |
966 | 978 | | |
967 | 979 | | |
| |||
1022 | 1034 | | |
1023 | 1035 | | |
1024 | 1036 | | |
1025 | | - | |
| 1037 | + | |
1026 | 1038 | | |
1027 | 1039 | | |
1028 | 1040 | | |
| |||
0 commit comments