modinfo 0.0.2

Get modinfo section for Linux kernel module (.ko)
Documentation
  • Coverage
  • 0%
    0 out of 31 items documented0 out of 18 items with examples
  • Size
  • Source code size: 8.34 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kavanmevada

Get modinfo from Kernel module (.ko)

Example

extern crate modinfo;

fn main() {
    let ko = open("../snd.ko").expect("error: can't open file!");
    println!("{alias:?}", alias = ko.get(b"alias"));
}

Rust version compatibility

The minimum required Rust version is 1.47.0.

Contributing

Contributions are very welcome. However, because this library is used widely, and in security-sensitive contexts, all PRs will be carefully scrutinized. Beyond that, this sort of low level library simply needs to be 100% correct. Nobody wants to chase bugs in encoding of any sort.

All this means that it takes me a fair amount of time to review each PR, so it might take quite a while to carve out the free time to give each PR the attention it deserves. I will get to everyone eventually!