Skip to content

Commit

Permalink
Add create_pointer function
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankvdStam committed May 5, 2024
1 parent 1a7f65d commit 753cc2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

[package]
name = "mem-rs"
version = "0.1.4"
version = "0.1.5"
edition = "2021"
readme = "README.md"
homepage = "https://github.com/FrankvdStam/mem-rs"
Expand Down
5 changes: 5 additions & 0 deletions src/process/scanning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ impl Process

return Ok(Pointer::new(self.process_data.clone(), true, result, pointer_offsets));
}

pub fn create_pointer(&self, address: usize, pointer_offsets: Vec<usize>) -> Pointer
{
return Pointer::new(self.process_data.clone(), true, address, pointer_offsets);
}
}

0 comments on commit 753cc2f

Please sign in to comment.