0cyn / iBoot-IDA

32/64 bit SecureROM/iBoot loader for IDA Pro. Also supports loading and decrypting encrypted .im4ps within IDA.
68 stars 15 forks source link

Bug: Decrypter sprays temp files on disk when decryption fails #2

Open 0cyn opened 2 years ago

0cyn commented 2 years ago

To get around the issue with IDA not wanting to replace a db's bytes with entirely different ones, we swap out IDA's internal file pointer for the image.

Perhaps by replacing it with something backed with BytesIO, this could be mitigated.

0cyn commented 2 years ago

perhaps also IDAs internal representation could be swapped out with a memory mapped object handled as ACCESS_COPY and then written over during decryption?