GithubHelp home page GithubHelp logo

shao-hua-li / ubgen Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 5.0 130 KB

UBGen can generate programs with undefined behaviors (e.g., buffer-overflow, use-after-free, etc.)

License: Apache License 2.0

Shell 0.03% CMake 1.13% C++ 15.10% Python 20.91% C 62.84%

ubgen's People

Contributors

shao-hua-li 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ubgen's Issues

A bug when I use LLVM17

I use the kali system and install llvm17 by apt
./build.sh then i meet the error

"""
/home/kali/Documents/UBGen/dynamic_analyzer/src/RuleActionCallback.cpp:74:61: error: request for member ‘Edits’ in ‘clang::transformer::detail::findSelectedCase((* & Result), ((ruleactioncallback::RuleActionCallback*)this)->ruleactioncallback::RuleActionCallback::Rule.clang::transformer::RewriteRuleWith::)’, which is of non-class type ‘size_t’ {aka ‘long unsigned int’}
74 | transformer::detail::findSelectedCase(Result, Rule).Edits(Result);
"""

then i modify the code and run success
site_t I = transformer::detail::findSelectedCase(Result, Rule);
Expected<SmallVector<transformer::Edit, 1>> Edits = Rule.Case[I].Edits(Result);

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.