Giter Club home page Giter Club logo

Comments (8)

tharvik avatar tharvik commented on July 29, 2024

BPF programs might be a good showcase.

Good idea, I'll check with the hierachy :)

Hoo, a bunch of existing programs to try klint on: https://github.com/zoidbergwill/awesome-ebpf#examples
Correct me if I'm wrong, there is (or was) support for eBPF Maps in code?

from klint.

SolalPirelli avatar SolalPirelli commented on July 29, 2024

There was indeed, IIRC the main difference from Klint's map_* stuff is that BPF maps copy keys and values rather than partially owning key poiners.

from klint.

tharvik avatar tharvik commented on July 29, 2024

quick update: the hierarchy validated 🥳

from klint.

tharvik avatar tharvik commented on July 29, 2024

support for eBPF in angr is in progress at angr/angr-platforms#55

from klint.

SolalPirelli avatar SolalPirelli commented on July 29, 2024

@tharvik any news on this?

from klint.

tharvik avatar tharvik commented on July 29, 2024

upstream isn't really proactive, I bumped them, hopefully we'll have some news this week.

anyway, the PR is working (minus relocation & some specials instructions), feel free to use it, I'm happy to help with/fix any issue you might encounter.

from klint.

SolalPirelli avatar SolalPirelli commented on July 29, 2024

I see the PR was merged 🎉 I guess angr-platforms should become a dependency of klint now? I don't know how the packaging of it works (so that we can point Klint to an ebpf binary and it "just works")

from klint.

tharvik avatar tharvik commented on July 29, 2024

yeah, it took a while but it finally landed 🥳

I guess angr-platforms should become a dependency of klint now?

yep, it's quite easy in fact. as each angr arch register itself on import, you simply have to import angr_platforms.ebpf to support it.
and for the dep itself, it seems that it's not available via pip.. but you can depend on its git by adding a
"angr-platforms @ git+https://github.com/angr/angr-platforms.git" item in the dependencies' array.

from klint.

Related Issues (5)

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.