FoRTE-Research/UnTracer-AFL

untracer fuzz

kimiwanano opened this issue · 13 comments

Hi,when I tried to test with Untracer, I got the error in the figure. Could you please tell me how I can solve this problem?

image

You should append the path to the .so's to LD_LIBRARY_PATH / PATH.

Thanks. But I added the path and returned a new error.
image

Did you instrument the original binary with our provided compiler wrapper? https://github.com/FoRTE-Research/UnTracer-AFL#usage

Yes, I have compiled and successfully fuzz the other programs according to the methods in Usage.The only difference is that instead of having a configure file in cjson, it have a MAKEFILE, so I do like this:
CC=/path/to/afl/untracer-clang CXX=/path/to/afl/untracer-clang++ make clean all

The attached figure is the compilation process, I don't know if this is the cause of the problem. Thank you very much for your patience.

TMXPOSN4HQ~ZOW$8RRLEIVE

I notice that -fPIC is being passed as a CFLAG. UnTracer-AFL currently only supports non-PIE code - maybe try passing -no-pie as a CFLAG?

Do it like this?

WFVL`BLPD 7OW RO85421ZO

The same error occurred when I added CFLAG="-no-pie" to compile.

USM} ) D0Y{`U5G%Z 9I_MJ

When you try to run ./out_of_cjson_24h/cjson.tracer, what error do you get?

As shown in figure

image

I was able to reproduce and fix the error. This should be fixed in d695ca0. Happy fuzzing! :)

Thanks! Now it works properly.

Awesome! :)

when i use untracer-afl to fuzz readelf or sfconvert ,i get the same error " segmentation fault". i can't solve it ,help me pls, thanks