mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 14:32:18 +00:00
Updated fuzzer scripts
Point to new Chromium location Also enable UBSan Change-Id: I4ba182e3c6a967ad89090b776d05762fa9ae6e40
This commit is contained in:
@@ -14,7 +14,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
clang++ -fsanitize-coverage=edge -fsanitize=address -std=c++11 -stdlib=libstdc++ -I.. -I../../include flatbuffers_parser_fuzzer.cc ../../src/idl_parser.cpp ../../src/util.cpp libFuzzer.a -o fuzz_parser
|
||||
clang++ -fsanitize-coverage=edge -fsanitize=address -fsanitize=undefined \
|
||||
-g -fno-omit-frame-pointer -std=c++11 -stdlib=libstdc++ \
|
||||
-I.. -I../../include flatbuffers_parser_fuzzer.cc ../../src/idl_parser.cpp \
|
||||
../../src/util.cpp libFuzzer.a -o fuzz_parser
|
||||
mkdir -p parser_corpus
|
||||
cp ../*.json ../*.fbs parser_corpus
|
||||
./fuzz_parser parser_corpus
|
||||
|
||||
Reference in New Issue
Block a user