tum-i4 / sip-oblivious-hashing

7 stars 4 forks source link

[CLOSED] Remove (NOP) calls in the SROH stimulation function (oh_path_functions) #80

Open mr-ma opened 6 years ago

mr-ma commented 6 years ago

Issue by mr-ma Thursday May 24, 2018 at 14:40 GMT Originally opened as https://github.com/tum-i22/sip-oblivious-hashing/issues/80


oh_path_functions is only used to stimulate short range functions for the GDB patcher. NOP all the instructions in it, once GDB patcher is done.

mr-ma commented 6 years ago

Comment by mr-ma Thursday May 24, 2018 at 16:57 GMT


@anahitH I was not able to fully test this as the transformed bc (with short range protection) cannot be executed anymore. I used tetris as my example. Any ideas?

mr-ma commented 6 years ago

Comment by anahitH Thursday May 24, 2018 at 17:21 GMT


@mr-ma What is the reason of patched binary not running? Is it crash or something else?

I've tested your changes on testris and it works for me. oh_path_functions' content is nop-ed in the final binary and it runs without any problem.