-
Notifications
You must be signed in to change notification settings - Fork 31
Add a way to save hard crashes #10
Comments
heap-corruption issues in the runtime itself? this is cool!(would love to see that when possible/fixed). The only way I can think of saving those kind of crashes are saving each time the last input on disk but that will kind of slow the whole thing down. Do you have some kind of reproduction for this? maybe it's just running out of memory? |
I thought about keeping everything, but it would murder the performances. I'm currently trying to run my fuzzer in an ASAN environment, to see if I can reproduce this. |
If you have a reproduction you can share I'll be happy to take a look at this. sounds like an interesting case-study. |
You can always use something like this I guess: import ctypes
i = ctypes.c_char(b'a')
j = ctypes.pointer(i)
c = 0
while True:
j[c] = b'a'
c += 1 |
Ah got it, you meant code that uses cbindings. That makes more sense now. |
While fuzzing some python stuff, I've found several heap-corruption issues. Unfortunately, since the whole Python thingy is crashing in a weird way, the crashing input isn't saved, and this is annoying.
It would be nice to have a way (maybe hidden behind a flag) to keep this kind of crashes.
The text was updated successfully, but these errors were encountered: