#memflow #introspection #memory #api-bindings

memflow-qemu-procfs

qemu procfs connector for the memflow physical memory introspection framework

3 unstable releases

0.1.1 Sep 6, 2020
0.1.0 Sep 1, 2020
0.0.0 Sep 1, 2020

#17 in #memflow

MIT license

21KB
397 lines

memflow-qemu-procfs

This connector implements an interface for Qemu via the Process Filesystem on Linux.

Compilation

Using the crate in a rust project

To use the connector in a rust project just include it in your Cargo.toml

memflow-qemu-procfs = "0.1"

Make sure to not enable the inventory feature when importing multiple connectors in a rust project without using the memflow connector inventory. This might cause duplicated exports being generated in your project.

Building the stand-alone connector for dynamic loading

The stand-alone connector of this library is feature-gated behind the inventory feature. To compile a dynamic library for use with the connector inventory use the following command:

cargo build --release --all-features

Installing the library

Alternatively to manually placing the library in the PATH the connector can be installed with the install.sh script. It will place it inside ~/.local/lib/memflow directory. Add ~/.local/lib directory to PATH to use the connector in other memflow projects.

Arguments

  • name - the name of the virtual machine (default argument, optional)

License

Licensed under MIT License, see LICENSE.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

Dependencies

~6.5MB
~123K SLoC