-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emulate error #32
Comments
Yes, this firmware may just have a too long initialization sequence. You can increse the limit if you like. For the memset operation you can also consider removing/patching out the zero-setting loop (in case the memory is newly mapped as null bytes anyways. |
Hello Tobi: My firmware is a real-world MCU firmware, so I think some firemware can't be fuzzed by fuzzware.The reason is unknown. I try some other firmwares run on GD32F407, They can successfully run on fuzzware,and many crashes occur. |
Did you look into the firmware and see what code resides at that address? It is likely a simple/tight infinite loop which is triggered due to an assertion. There most likely is the assertion code just before that. You can use |
Hello: |
Hello Tobi:
When I emulate my firmware, some errors occor.
fuzzware emu -c config.yml -v -d -M IPMI_F407.bin >emu.log
The errors:
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Basic Block: addr= 0x0000000008001358 (lr=0x0)
Fuzzing input not consumed for 150000 basic blocks, exiting
[FORKSERVER SETUP] It looks like we are not running under AFL, going for single input
[ERROR] Could not retrieve the number of required ticks during discovery forking
LoopCopyDataInit:
ldr r0, =_sdata
ldr r3, =_edata
adds r2, r0, r1
cmp r2, r3
bcc CopyDataInit
ldr r2, =_sbss
b LoopFillZerobss
Should I change the limit of fuzz_consumption_timeout(150000) ?
Do you have any good Ideas?
Best
ZP
The text was updated successfully, but these errors were encountered: