Is it possible to compile V8 with afl++?

178 views
Skip to first unread message

L R

unread,
Sep 2, 2023, 10:31:44 AM9/2/23
to afl-users
I attempted to compile V8, the JavaScript engine of  chromium. The afl in the third party of the project is out-of-date and the compiled target runs very slow.
Is it possible to compile V8 with afl-clang-fast in afl++?

dome...@gmail.com

unread,
Sep 2, 2023, 4:04:18 PM9/2/23
to afl-users
It should be possible in theory. We've managed to compile V8 with LibAFL in the past, and the compiler wrappers are very similar.
One way to do it is to copy&paste a whole LLVM folder, replace the clang binary inside with a (renamed) compiler wrapper, and then use this copied LLVM path as base path for your Chrome build.
Good luck :)

Best
Dominik

L R

unread,
Sep 5, 2023, 4:53:14 AM9/5/23
to afl-users
I made it. Thanks

Best
Lily

Reply all
Reply to author
Forward
0 new messages