exterminate
exterminate copied to clipboard
A suggestion to make this even more destructive
Hello, instead of always modifying the number you could instead modify it randomly (for example one out of every 100 numbers will be modified the other 99 will be the same). So the problematic behavior will only happen once in a while making debugging impossible!
True = not True
False = not False
import ctypes
def deref(addr, typ):
return ctypes.cast(addr, ctypes.POINTER(typ))
deref(id(29), ctypes.c_int)[6] = 100
seems to work, haven't managed to switch out the bool values yet.