Git Product home page Git Product logo

kaled-alshmrany / fusebmc Goto Github PK

View Code? Open in Web Editor NEW
43.0 6.0 6.0 88.66 MB

FuSeBMC is a novel Energy-Efficient Test Generator that exploits fuzzing and BMC engines to detect security vulnerabilities in real-world C programs.

License: MIT License

C 49.91% C++ 47.74% Makefile 0.03% Python 1.73% Shell 0.56% SWIG 0.01% CMake 0.02%
fuzzing smart-seeds selective-fuzzer bounded-model-checking tracer

fusebmc's People

Contributors

kaled-alshmrany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fusebmc's Issues

Add a recipe in Makefile to generate the release

In TestComp we will need to generate a release to be used by external environments so we could use something like make release, it should:

  • Be static
  • Contain the wrapper (named as esbmc-wrapper.py), esbmc, and the instrumentation tool.

If it generated something like fusebmc.tar.gz it would be great.

Compile Error

I tried to compile but the following issue occurred.

make clean release
rm -f obj/*.o
rm -f FuSeBMC_inustrment
/home/kaled/Downloads/clang_base/bin/clang++ -Wall -Wextra -W -std=c++11 -I./include -I/home/kaled/Downloads/clang_base/include -I/mnt/sda2/llvm-6.0.0/include  -fno-rtti  -Wno-unsequenced -Wno-unused-parameter -o3 -os  -c src/GoalCounter.cpp -o obj/GoalCounter.o
make: /home/kaled/Downloads/clang_base/bin/clang++: No such file or directory
make: *** [Makefile:26: obj/GoalCounter.o] Error 127

Checking the Makefile the CLANG_BASE is hardcoded:

 CLANG_BASE = /home/kaled/Downloads/clang_base  

Remove temporary files from repository

Currently, the repository contains files that shouldn't be tracked e.g. build files and property files this makes harder to track which files are important. There should be a .gitignore for those files.

Create output directory if needed in my_instrument

Running ./my_instrument --input test.c --output ./my_instrument_outpt/instrumrnted.c --goal-output-file ./my_instrument_outpt/goals.txt --add-else --add-labels throws an error if the output directory does not exist.

Adding compiler flags to the instrumented code

While compiling instrumented code, is there a way to pass compiler flags to it without hardcoding it in the fusebmc.py.
Also I'm getting lstFuSeBMC_GoalTracerGoals=[] and lstFuSeBMC_FuzzerGoals_Run2=[] but I think that's because fusebmc cant compile the instrumented code as it has a set of flags that are not being set.

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.