https://github.com/rinhizakura/drgn-knight
A Rust library built on top of drgn to access kernel object
https://github.com/rinhizakura/drgn-knight
Last synced: 3 months ago
JSON representation
A Rust library built on top of drgn to access kernel object
- Host: GitHub
- URL: https://github.com/rinhizakura/drgn-knight
- Owner: RinHizakura
- Created: 2024-06-21T04:16:07.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-15T13:20:41.000Z (7 months ago)
- Last Synced: 2024-12-27T12:09:01.779Z (4 months ago)
- Language: C
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# drgn-knight
## Introduction
drgn-knight is a Rust library which enable to access kernel object through
"/proc/kcore". It is built on top of [drgn](https://github.com/osandov/drgn)
with only a restricted set of interfaces.## Build
### drgn
In order to compile drgn from source for libdrgn, you will need these dependencies:
```
$ sudo apt install autoconf automake check gcc git liblzma-dev libelf-dev libdw-dev libtool make pkgconf python3 python3-dev python3-pip python3-setuptools zlib1g-dev
```The vmlinux file for you kernel is required for the debug information. Reading
[Getting Debugging Symbols](https://github.com/osandov/drgn/blob/main/docs/getting_debugging_symbols.rst)
to know how you can get it.### drgn-knight
```
$ git submodule update --init
$ make
```