Skip to content

Commit

Permalink
Upgrade from memmap to memmap2
Browse files Browse the repository at this point in the history
The former appears to be unmaintained:
danburkert/memmap-rs#90
  • Loading branch information
andrewjcg committed Sep 3, 2024
1 parent 3e59996 commit 643d5c6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
17 changes: 13 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ lru = "0.10"
regex = ">=1.6.0"
tempfile = "3.6.0"
proc-maps = "0.3.2"
memmap = "0.7.0"
memmap2 = "0.9.4"
cpp_demangle = "0.4"
serde = {version="1.0", features=["rc"]}
serde_derive = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/binary_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::path::Path;

use anyhow::Error;
use goblin::Object;
use memmap::Mmap;
use memmap2::Mmap;

pub struct BinaryInfo {
pub symbols: HashMap<String, u64>,
Expand Down

0 comments on commit 643d5c6

Please sign in to comment.