Giter Site home page Giter Site logo

ebpfdbg's Introduction

ebpfdbg (eBPF verifier log viewer)

This project is aimed to help debug large eBPF verifier error logs. This simple utility allows to post-process eBPF verifier log to a human-readable HTML page.

How to use

1. Get a file with eBPF verifier log

If you see an error message from eBPF verifier due to loading of your program, you need to extract full eBPF verifier logs. Make sure your log is not truncated to default 65535 bytes. Save it to a file.

2. Run eBPF verifier against it

You need to have Go compiler 1.19 or higher on your system. Run the following:

go get github.com/ph1048/ebpfdbg/cmd/
go run github.com/ph1048/ebpfdbg/cmd/ serve --input path/to/log

3. Open URL in web browser

Depending on the verifier log size, this page might be heavy.

Contribution

Ways to contribute:

  1. Create issues for problems and suggestions
  2. Post your full eBPF verifier logs (if possible)

ebpfdbg's People

Contributors

ph1048 avatar

Watchers

 avatar

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.