Closed Lawliar closed 10 months ago
Hi Lawliar,
you can run any input in fuzzware emu
using the -M
flag. This will show you at least the last basic block which Unicorn tried to execute. If I had to guess, if you are running an ARM Cortex-M, it would be something floating pointer number or ARM-v8 related. In case it is floating point and you have a change to recompile the target, then you could use the -mfloat-abi=soft
flag.
Best Tobi
Hi Scepticz,
Thanks for you reply! Yeah, I did tried to recompile with the soft fpu, but it looks like ChibiOS, which the firmware has hard coded fpu in assembly as part of the startup code, which causes this problem. there seems no way to remove this. Do you think is there anyway to get around this?
Best, Lawliar
Other than patching it out, not for the moment :-(
Yeah, that is unfortunate. Thanks for the information tho!
Hi folks,
There seems to be a problem with decoding the instruction, I tried to run Unicorn with
--debug
flag and the output is as follows:Is there any way to know which instruction the unicorn failed to decode?
Many thanks in advance!