Code Monkey home page Code Monkey logo

jingle's People

Contributors

toolchainz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vpaulv

jingle's Issues

Consider Unifying Model Types

Right now we have ModeledBlock (a modeled basic block) and ModeledInstruction (a single instruction) as two similar, but distinct types. ModeledBlock has the extra constraint that it will only be constructed if the block terminates in non-fallthrough branches.

This isn't ideal for a few situations:

  • This isn't really guaranteed to be a basic block in the program graph, so it's less useful for actual analysis
  • If you want a function to be more generally usable, you pay the price with a bunch of noisy trait bounds; often things just don't bother and choose one.
  • This is confusing

Should consider removing this separation and just calling it what it is: a trace of pcode operations. A single trace structure could represent an instruction or our poor-man's basic block. Could also implement Add and friends on it to allow easily manipulating traces.

We should definitely have something for basic blocks eventually, but that will require a more thorough treatment of the program graph. And maybe we can just piggy-back on some of the higher analysis that sleigh performs.

Move jingle_sleigh into separate crate

Hi! Do you think it would be beneficial to move jingle_sleigh into a separate crate? This way, people who only need the pcode bindings would not have to add unused libraries to their projects

z3-sys

Hi! Thank you for the nice bindings. Would it be possible to add a static-link-z3 feature to z3-sys, so that users don't need to manually install z3-dev on their systems to access z3.h?

Update to Ghidra 11.1

This is currently blocked.

In Ghidra 11.1, sleigh was updated to support compressed architecture modules. This feature brings along a mandatory dependency on zlib.

So, to update, need to either:

  • Add a build.rs step that ensures zlib is installed and adds it to the linking path
  • Vendor it in with the other C++ and use the "local zlib" build option.
  • Maybe there's a way to do option 2 but link it to libz-sys instead

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.