From 2848cd1d0eb415fc45eeb5e8edcc4fdd052fde0d Mon Sep 17 00:00:00 2001 From: ko1N Date: Wed, 22 Dec 2021 18:19:05 +0100 Subject: [PATCH] Updated to latest memflow/next --- README.md | 1 - install.sh | 4 ++-- memflow-pcileech/Cargo.toml | 4 ---- memflow-pcileech/src/lib.rs | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2e28000..054bcde 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,6 @@ Remarks: The `install.sh` script does currently not place the `leechcore_ft601_d ### 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: ``` diff --git a/install.sh b/install.sh index 82c8cb8..a185e5b 100755 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ if [ ! -z "$1" ] && [ $1 = "--system" ]; then if [[ ! -d /usr/lib/memflow ]]; then sudo mkdir /usr/lib/memflow fi - sudo cp target/release/libmemflow_pcileech.so /usr/lib/memflow + sudo cp target/release/libmemflow_pcileech.so /usr/lib/memflow/libmemflow_pcileech.7.so fi # install connector in user dir @@ -16,4 +16,4 @@ echo "installing connector for user in ~/.local/lib/memflow" if [[ ! -d ~/.local/lib/memflow ]]; then mkdir -p ~/.local/lib/memflow fi -cp target/release/libmemflow_pcileech.so ~/.local/lib/memflow +cp target/release/libmemflow_pcileech.so ~/.local/lib/memflow/libmemflow_pcileech.7.so diff --git a/memflow-pcileech/Cargo.toml b/memflow-pcileech/Cargo.toml index 0ca7adf..b32ad43 100644 --- a/memflow-pcileech/Cargo.toml +++ b/memflow-pcileech/Cargo.toml @@ -25,10 +25,6 @@ clap = "2.33" simple_logger = "1.0" memflow-win32 = { git = "https://github.com/memflow/memflow-win32", branch = "main" } -[features] -default = [] -inventory = [] - [[example]] name = "read_phys" path = "examples/read_phys.rs" diff --git a/memflow-pcileech/src/lib.rs b/memflow-pcileech/src/lib.rs index 760668e..a6cbd37 100644 --- a/memflow-pcileech/src/lib.rs +++ b/memflow-pcileech/src/lib.rs @@ -115,7 +115,6 @@ struct WriteGap { in_end: usize, } -// TODO: handle mem_map impl PhysicalMemory for PciLeech { fn phys_read_raw_iter<'a>( &mut self,