mr-ma / sip-eval

1 stars 0 forks source link

tests_openssl.x.bc misses one function after protection transformation #25

Open mr-ma opened 6 years ago

mr-ma commented 6 years ago

SC patcher fails to find a function in the binary, which is actually not there! ERR: failed to find function:sym.yajl_internal_free00 I compared the original bc, after coverage improvements (extract and clone, with the transformed one (sc+oh). The latter does not contain yajl_internal_free00 function. My guess is that since this function does not have any call site, it is being deleted by LLVM. Both bc files are uploaded here

mr-ma commented 6 years ago

This actually happens for the following function too. ERR: failed to find function:sym.default_illegal_callback_fn00

mr-ma commented 6 years ago

GDB is also failing to patch some asserts, because it doesn't see them.