GithubHelp home page GithubHelp logo

target compile issues about nestfuzz HOT 5 CLOSED

vanhauser-thc avatar vanhauser-thc commented on July 20, 2024
target compile issues

from nestfuzz.

Comments (5)

vanhauser-thc avatar vanhauser-thc commented on July 20, 2024

here compiled with debug:

#15 0x00007ffff7fbb68d (anonymous namespace)::LoopHandlingPass::visitExploitation(llvm::Instruction*) /prg/NestFuzz/ipl-modeling/pass/LoopHandlingPass.cpp:649:5
#17 0x00007ffff7fb93be (anonymous namespace)::LoopHandlingPass::visitCallInst(llvm::Instruction*) /prg/NestFuzz/ipl-modeling/pass/LoopHandlingPass.cpp:507:15
#18 0x00007ffff7fb93be (anonymous namespace)::LoopHandlingPass::runOnModule(llvm::Module&) /prg/NestFuzz/ipl-modeling/pass/LoopHandlingPass.cpp:949:11

from nestfuzz.

Mech0n avatar Mech0n commented on July 20, 2024

Sorry for the late reply. I tried the following compilation cmd, But not reproduce the bug.

CC=.../test-clang CXX=.../test-clang++ ./configure
make -j

I compiled successfully.

from nestfuzz.

vanhauser-thc avatar vanhauser-thc commented on July 20, 2024

@Mech0n did you try with https://github.com/vanhauser-thc/fuzzing-targets/raw/master/tiff-4.0.4.zip or a newer version?

from nestfuzz.

Mech0n avatar Mech0n commented on July 20, 2024

Sorry about that.
I tried the version or compression package you provided and I compiled successfully.

➜  tiff-4.0.4 ls tools
tiffsplit ....

➜  libtiff eva/fuzzer/NestFuzz/ipl-modeling/install/test-clang  -DHAVE_CONFIG_H -I. -g -Wall -W -MT tif_close.lo -MD -MP -MF .deps/tif_close.Tpo -c tif_close.c -o tif_close.o
use_zlib: (null)
clang -DHAVE_CONFIG_H -I. -g -Wall -W -MT tif_close.lo -MD -MP -MF .deps/tif_close.Tpo -c tif_close.c -o tif_close.o -Xclang -load -Xclang eva/fuzzer/NestFuzz/ipl-modeling/install/pass/libLoopHandlingPass.so -mllvm -chunk-exploitation-list=eva/fuzzer/NestFuzz/ipl-modeling/install/rules/exploitation_list.txt -Xclang -load -Xclang eva/fuzzer/NestFuzz/ipl-modeling/install/pass/libDFSanPass.so -mllvm -chunk-dfsan-abilist=eva/fuzzer/NestFuzz/ipl-modeling/install/rules/angora_abilist.txt -mllvm -chunk-dfsan-abilist=eva/fuzzer/NestFuzz/ipl-modeling/install/rules/dfsan_abilist.txt -pie -fpic -Qunused-arguments -fno-discard-value-names -g -O0
➜  libtiff file tif_close.o
tif_close.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), with debug_info, not stripped

Maybe you need to wait for configure to check . I've been through a similar wait before, like waiting for checking mmap .

Did you compile the llvm or just apt install it ?

from nestfuzz.

vanhauser-thc avatar vanhauser-thc commented on July 20, 2024

I found out why this is an issue. I compiled llvm-10 myself but I compiled it in Debug, not Release. If I compile it in Release mode then I do not encounter this issue.

from nestfuzz.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.