tum-i4 / sip-oblivious-hashing

7 stars 4 forks source link

OH fails for tetris #120

Open dennisfischer opened 6 years ago

dennisfischer commented 6 years ago

Tetris is incorrectly patched / a hash or assert is used on input dependent data.

Branch used: llvm-6.0.0 Patcher from improve-gdb branch.

Steps; Press as soon as possible q inside the OH patcher. Run patched tetris Wait a few seconds before pressing q.

        Assert: 8228218==2232168
./tetris_patched(do_assert+0x76) [0x4081c8]
./tetris_patched(assert+0x33) [0x408290]
./tetris_patched(main+0x6f9) [0x4080c9]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f47cb8a0830]
./tetris_patched(_start+0x29) [0x406fd9]

tetris.protected.bc.zip