diff options
author | van Hauser <vh@thc.org> | 2021-04-03 18:52:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 18:52:00 +0200 |
commit | 53facd8882173873a7b78860b0fb49884de90c5b (patch) | |
tree | 5bafe92efcf63417e465671815f1ada07737b944 /utils/autodict_ql/litool.ql | |
parent | 3ff4ca348c344bded53f53b0d0c4b020a188f26e (diff) | |
parent | d35a90101f1ae51fa022332828209139a7e070ad (diff) | |
download | afl++-53facd8882173873a7b78860b0fb49884de90c5b.tar.gz |
Merge pull request #856 from Microsvuln/dev
Autodict-QL : Token generation for fuzzing with CodeQL
Diffstat (limited to 'utils/autodict_ql/litool.ql')
-rw-r--r-- | utils/autodict_ql/litool.ql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/autodict_ql/litool.ql b/utils/autodict_ql/litool.ql new file mode 100644 index 00000000..b7f4bf33 --- /dev/null +++ b/utils/autodict_ql/litool.ql @@ -0,0 +1,10 @@ +import cpp + +class HexOrOctLiteral extends Literal{ + HexOrOctLiteral(){ + (this instanceof HexLiteral) or (this instanceof OctalLiteral) + } +} + +from HexOrOctLiteral lit +select lit.getValueText() \ No newline at end of file |