sslab-gatech / qsym

QSYM: A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
Other
631 stars 134 forks source link

Do not instrument shared libraries #50

Closed lzina closed 2 years ago

lzina commented 5 years ago

Hi, I am trying to trace only my target binary and ignore all shared libraries. I found an option of filter_no_shared_libs that should be send to the pin tool, but it does not work for me.

'~/PycharmProjects/Qsym/venv/lib/python2.7/site-packages/qsym/../../../../third_party/pin-2.14-71313-gcc.4.4.7-linux/pin.sh' -ifeellucky -t '~/PycharmProjects/Qsym/venv/lib/python2.7/site-packages/qsym/pintool/obj-intel64/libqsym.so' -filter_no_shared_libs -logfile /tmp/tmpLlMTku/qsym-out-0/pin.log -i ~/PycharmProjects/Qsym/Tests/afl-output/qsym/.cur_input -s '1' -o '/tmp/tmpLlMTku/qsym-out-0' -help -l '1' -b '~/PycharmProjects/Qsym/Tests/afl-output/qsym/bitmap' -- '~/PycharmProjects/Qsym/Tests/test_null_pointer.out'

Please your help. Thanks.

insuyun commented 5 years ago

I have never tried to filter out all shared libraries. Maybe you can selectively add instrumentation based on your binary in here?

insuyun commented 2 years ago

Please re-open it if you need any more help.