diff options
Diffstat (limited to 'utils/autodict_ql/strncmp-str.ql')
-rw-r--r-- | utils/autodict_ql/strncmp-str.ql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/autodict_ql/strncmp-str.ql b/utils/autodict_ql/strncmp-str.ql new file mode 100644 index 00000000..dbb952e5 --- /dev/null +++ b/utils/autodict_ql/strncmp-str.ql @@ -0,0 +1,8 @@ +import cpp + +/// function : strncmp + +from FunctionCall fucall, Expr size +where + fucall.getTarget().hasName("strncmp") +select fucall.getArgument(_).getValueText() \ No newline at end of file |