Commit Graph

7 Commits

Author SHA1 Message Date
Alan Modra 4c8d9731e4
Issue 56429 binutils/fuzz_as (#9843)
Define a do-nothing xatexit.
2023-03-01 22:02:01 +00:00
Alan Modra 976e6f9715
binutils/fuzz_as.c gas_early_init (#9810)
Fix an error passing argv to gas_early_init. &fakeArgv isn't correct.
The address of a pointer of type char** must be passed. That char***
will be passed on to expandargv, which possibly modifies the char**
(although it won't be with current args), which is why the call to
perform_an_assembly_pass is changed too.
2023-02-27 16:54:21 +11:00
Alan Modra fbb36ab8dd
Correct binutils/fuzz_as.c fakeArgc (#9775)
Fix commit c60716c298 typo.
2023-02-22 02:54:33 -08:00
Alan Modra c60716c298
Fix binutils fuzzer build breakage (#9754) 2023-02-20 01:39:24 -08:00
Alan Modra db7354e3d3
Update binutils/fuzz_as initialisation (#9400)
Upstream gas has changed, resulting in issues like
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48997
2023-01-11 01:52:31 -08:00
DavidKorczynski eddf109b52
binutils: fix fuzz_as (#7402)
macro_init needs to be called.

Ref: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43790#c2
2022-03-19 19:19:31 +00:00
DavidKorczynski 7b5b94721b
binutils: add GAS fuzzer and specialised disassembly fuzzer (#6640)
* binutils: add GAS fuzzer and specialised disassembly fuzzer

* binutils: cleanup formatting

* binutils: minor fix
2021-10-23 20:25:44 +01:00