Closed alexdetrano closed 5 years ago
Recording the stages (creating the stage file) is done using umap2stages. Did you use it? Also, please share the contents of your keyboard.stage file.
I seem to misunderstood the issue when I first replied. If fuzz/keyboard.fuzz exists, then I will need to investigate it. It will take me a couple of weeks to do so, in the meantime, please confirm that you have both files (fuzz, stages) in the expected locations and post the contents of the stages file.
>ls fuzz/keyboard.fuzz
fuzz/keyboard.fuzz
>ls stages/keyboard.stage
stages/keyboard.stage
>cat stages/keyboard.stage
device_descriptor
device_descriptor
configuration_descriptor
interface_descriptor
hid_descriptor
hid_report_descriptor
endpoint_descriptor
configuration_descriptor
interface_descriptor
hid_descriptor
hid_report_descriptor
endpoint_descriptor
string_descriptor_zero
string_descriptor
string_descriptor
string_descriptor
string_descriptor
string_descriptor
hid_set_idle_response
hid_report_descriptor
hid_get_report_response
Doing some digging myself, it looks like the fuzzer is able to read the session file correctly, and extract the failed tests.
This is in /umap2/fuzz/fuzz_engine.py
just before remote.start()
is called
(Pdb) fuzzer._test_list.as_test_list_str()
'58,640,646,1158,1164,3320,3475,4679,4710,4915,6007,6028,7562,7847,8566,9353,9612,10099,10121,10175'
Thanks for the input. Did you have any progress with this issue? If not - do you mind sharing the session file so I can try and reproduce that on my setup?
Sorry, this fell off the radar. I think I had modified some code and forgot about it. I restarted with a fresh repo and it worked. I will mark this as closed. Thanks for the help!
I recorded a fuzzing session using umap2kitty. When I try to replay, I get the following error:
On the fuzzer side, I get some kind of nasty RPC error, mutation count exceeds maximum.
Any idea how to get past this?