mirror of https://github.com/google/oss-fuzz.git
binutils: fix fuzz_as (#7402)
macro_init needs to be called. Ref: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43790#c2
This commit is contained in:
parent
36d589d9d5
commit
eddf109b52
|
@ -44,6 +44,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
read_begin ();
|
||||
input_scrub_begin ();
|
||||
expr_begin ();
|
||||
macro_init (flag_macro_alternate, flag_mri, 0, macro_expr);
|
||||
|
||||
output_file_create (out_file_name);
|
||||
itbl_init ();
|
||||
dwarf2_init ();
|
||||
|
|
Loading…
Reference in New Issue