Crates.io | modinfo |
lib.rs | modinfo |
version | 0.0.2 |
source | src |
created_at | 2022-11-19 14:49:18.142448 |
updated_at | 2022-11-28 08:03:59.903983 |
description | Get modinfo section for Linux kernel module (.ko) |
homepage | |
repository | https://github.com/kavanmevada/modinfo |
max_upload_size | |
id | 718511 |
size | 8,457 |
Get modinfo from Kernel module (.ko)
extern crate modinfo;
fn main() {
let ko = open("../snd.ko").expect("error: can't open file!");
println!("{alias:?}", alias = ko.get(b"alias"));
}
The minimum required Rust version is 1.47.0.
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!