Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求助报错 #5

Open
Ba1h0ng opened this issue Jul 18, 2019 · 2 comments
Open

求助报错 #5

Ba1h0ng opened this issue Jul 18, 2019 · 2 comments

Comments

@Ba1h0ng
Copy link

Ba1h0ng commented Jul 18, 2019

感觉很奇怪,按照教程做的,也有二进制文件,就是一直报错
使用的命令
afl-fuzz -i ../../../afl-2.52b/testcases/images/png/ -o fuzzing_output -t 300000 -m 200 ./magick convert @@ /dev/null

下是报错的显示与图片

Hmm, looks like the target binary terminated before we could complete a
handshake with the injected code. There are two probable explanations:

- The current memory limit (200 MB) is too restrictive, causing an OOM
  fault in the dynamic linker. This can be fixed with the -m option. A
  simple way to confirm the diagnosis may be:

  ( ulimit -Sv $[199 << 10]; /path/to/fuzzed_app )

  Tip: you can use http://jwilk.net/software/recidivm to quickly
  estimate the required amount of virtual memory for the binary.

- Less likely, there is a horrible bug in the fuzzer. If other options
  fail, poke <[email protected]> for troubleshooting tips.

[-] PROGRAM ABORT : Fork server handshake failed
Location : init_forkserver(), afl-fuzz.c:2253

vul-2019-07-18-14-57-18

@PeiXie
Copy link

PeiXie commented Dec 18, 2020

我也遇到了相同问题,通过测试.libs文件夹下的lt-magick程序可以解决这个问题。
(如果.libs文件夹里没有这个程序,可以使用magick脚本执行一下identify或者convert命令)

@liuliqaz
Copy link

尝试执行
ldconfig /usr/local/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants