AFLplusplus / Grammar-Mutator

A grammar-based custom mutator for AFL++
Apache License 2.0
234 stars 15 forks source link

fatal error: GrammarLexer.h #49

Closed 20urc3 closed 4 months ago

20urc3 commented 4 months ago

Hi, trying to use make GRAMMAR_FILE with a javascript.json (transformed before using nautilus_py_grammar_to_json.py ) I face this issue:

cpp-runtime-src/runtime/src/atn -I/home/source/Grammar-Mutator/third_party/antlr4-cpp-runtime/antlr4-cpp-runtime-src/runtime/src/dfa -I/home/source/Grammar-Mutator/third_party/antlr4-cpp-runtime/antlr4-cpp-runtime-src/runtime/src/misc -I/home/source/Grammar-Mutator/third_party/antlr4-cpp-runtime/antlr4-cpp-runtime-src/runtime/src/support -I/home/source/Grammar-Mutator/third_party/antlr4-cpp-runtime/antlr4-cpp-runtime-src/runtime/src/tree -I/home/source/Grammar-Mutator/third_party/antlr4-cpp-runtime/antlr4-cpp-runtime-src/runtime/src/tree/pattern -I/home/source/Grammar-Mutator/third_party/antlr4-cpp-runtime/antlr4-cpp-runtime-src/runtime/src/tree/xpath -I../../include -I./generated -std=gnu++14 -fPIC -Wno-attributes -Wall -Wextra -Werror -O3 -o antlr4_shim.o -c antlr4_shim.cpp
antlr4_shim.cpp:22:10: fatal error: GrammarLexer.h: No such file or directory
   22 | #include <GrammarLexer.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:51: antlr4_shim.o] Error 1
make[2]: Leaving directory '/home/source/Grammar-Mutator/lib/antlr4_shim'
make[1]: *** [Makefile:25: antlr4_shim] Error 2
make[1]: Leaving directory '/home/source/Grammar-Mutator/lib'
make: *** [GNUmakefile:120: build_lib] Error 2