You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ ../../afl-cc -I../../include/ -o afl-proxy afl-proxy.c
afl-cc++4.09a by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: GCC_PLUGIN-DEFAULT
afl-gcc-pass ++4.09a by <oliva@adacore.com>
[*] Inline instrumentation at ratio of 100% in non-hardened mode.
[+] Instrumented 47 locations (non-hardened mode, inline, ratio 100%).
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x22
../../afl-compiler-rt.o:(.data+0x0): multiple definition of `__afl_area_ptr'; /tmp/cc3quvIn.o:/path/to/afl/utils/afl_proxy/afl-proxy.c:119: first defined here/usr/bin/ld: __afl_map_size: TLS definition in /tmp/cc3quvIn.o section .tdata mismatches non-TLS definition in ../../afl-compiler-rt.o section .data/usr/bin/ld: ../../afl-compiler-rt.o: error adding symbols: bad valuecollect2: error: ld returned 1 exit status
I looked into afl-compiler-rt.o.c and then changed __thread u32 __afl_map_size to u32 __afl_map_size.
But I can not understand what can I do with multiple definitions of __afl_area_ptr and __afl_map_size
Thanks in advance!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I tried to compile afl-proxy and got this.
I looked into afl-compiler-rt.o.c and then changed
__thread u32 __afl_map_size
tou32 __afl_map_size
.But I can not understand what can I do with multiple definitions of
__afl_area_ptr
and__afl_map_size
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions