Code Monkey home page Code Monkey logo

Comments (2)

Dongdongshe avatar Dongdongshe commented on July 18, 2024

According to the error message "No such file libharfbuzz-fuzzing.a", it seems harfbuzz library libharfbuzz-fuzzing.a is not successfully built. Please double check if you follow the latest tutorials in https://github.com/Dongdongshe/K-Scheduler/blob/main/afl_integration/build_example/README.md.

```sh
# download harfbuzz source code
git clone https://github.com/behdad/harfbuzz.git
cd harfbuzz && git checkout f73a87d9a8c76a181794b74b527ea268048f78e3
cd .. && cp -r harfbuzz BUILD
# configure and build harfbuzz
(cd ./src/hb-ucdn && CCLD="$CXX $CXXFLAGS" make)
cd BUILD && ./autogen.sh && CCLD="$CXX $CXXFLAGS" ./configure --enable-static --disable-shared && make -j -C src fuzzing && cd ..
# build harfbuzz fuzzer wrapper
$CXX $CXXFLAGS -c -std=c++11 -I BUILD/src/ BUILD/test/fuzzing/hb-fuzzer.cc -o BUILD/test/fuzzing/hb-fuzzer.o 
# link harfbuzz fuzzer wrapper with afl driver
$CXX $CXXFLAGS -std=c++11 -I BUILD/src/ BUILD/test/fuzzing/hb-fuzzer.o BUILD/src/.libs/libharfbuzz-fuzzing.a afl_llvm_rt_driver.a -o harfbuzz_afl_asan
```

from k-scheduler.

Jqqzzz avatar Jqqzzz commented on July 18, 2024

After I added a command make in BUILD/src, it executed successfully.

from k-scheduler.

Related Issues (15)

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.