AFLplusplus / AFLplusplus/unicornafl

Build fails due to some issue in unicorn_afl

Aperta
#24 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
92
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I am trying to build AFLplusplus from source following the instructions on here - https://github.com/AFLplusplus/AFLplusplus/blob/stable/docs/INSTALL.md

When I run `make distrib ` it seems to error out during unicorn_mode build stage. Here is what I observed:

> [ 94%] Built target sample_x86
> make[3]: Leaving directory '/home/nb-ap@THP.LOCAL/Tools/AFLplusplus/unicorn_mode/unicornafl/unicorn/build'
> make[2]: *** [Makefile:146: all] Error 2
> make[2]: Leaving directory '/home/nb-ap@THP.LOCAL/Tools/AFLplusplus/unicorn_mode/unicornafl/unicorn/build'
> make[1]: *** [Makefile:11: unicorn/build/libunicorn-common.a] Error 2
> make[1]: Leaving directory '/home/nb-ap@THP.LOCAL/Tools/AFLplusplus/unicorn_mode/unicornafl'
> make: [GNUmakefile:651: distrib] Error 1 (ignored)
>

Any suggestions on how to resolve this? I am running Ubuntu 22.04.1 LTS on a x86_64 machine

Edit : Looking at the output logs better, I realize this is where the errors start

> [ 93%] Building C object CMakeFiles/sample_x86.dir/samples/sample_x86.c.o
> make[4]: Entering directory '/home/nb-ap@THP.LOCAL/Tools/AFLplusplus/unicorn_mode/unicornafl/unicorn/build'
> [ 93%] Building C object CMakeFiles/sample_x86_32_gdt_and_seg_regs.dir/samples/sample_x86_32_gdt_and_seg_regs.c.o
> make[4]: Entering directory '/home/nb-ap@THP.LOCAL/Tools/AFLplusplus/unicorn_mode/unicornafl/unicorn/build'
> [ 93%] Building C object CMakeFiles/sample_batch_reg.dir/samples/sample_batch_reg.c.o
> make[4]: Entering directory '/home/nb-ap@THP.LOCAL/Tools/AFLplusplus/unicorn_mode/unicornafl/unicorn/build'
> @Syntax error in archive script, line 1
> /usr/bin/ar: /home/nb-ap: No such file or directory
> @make[4]: *** [CMakeFiles/bundling_target.dir/build.make:73: libunicorn.a] Error 9

I am guessing the arguments to the call to `ar` don't have quotes correctly, coz it seems to ignore my home directory name after the `@` . Where should I edit to fix this?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.