Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Find libc by parsing dynamic loader cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
koutheir committed Feb 25, 2024
1 parent b6690b1 commit fb5a7eb
Show file tree
Hide file tree
Showing 9 changed files with 233 additions and 133 deletions.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ linker = "ld.lld"
[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"
runner = "wine-stable"

# rustup target add x86_64-unknown-freebsd
# cargo build --release --target=x86_64-unknown-freebsd
[target.x86_64-unknown-freebsd]
linker = "tools/x86_64-unknown-freebsd-clang.sh"
rustflags = ["-Clink-arg=--target=x86_64-unknown-freebsd"]
140 changes: 90 additions & 50 deletions Cargo.lock

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

25 changes: 13 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[package]
name = "binary-security-check"
version = "1.2.15"
version = "1.3.0"
authors = ["Koutheir Attouchi <koutheir@gmail.com>"]
license = "MIT"
description = "Analyzer of security features in executable binaries"
Expand Down Expand Up @@ -37,17 +37,18 @@ incremental = false
overflow-checks = true

[dependencies]
thiserror = { version = "1.0" }
goblin = { version = "0.8" }
once_cell = { version = "1.19" }
log = { version = "0.4" }
memmap2 = { version = "0.9" }
rayon = { version = "1.8" }
regex = { version = "1.10" }
scroll = { version = "0.12" }
flexi_logger = { version = "0.27" }
termcolor = { version = "1.4" }
memoffset = { version = "0.9" }
thiserror = { version = "1.0" }
goblin = { version = "0.8" }
once_cell = { version = "1.19" }
log = { version = "0.4" }
memmap2 = { version = "0.9" }
rayon = { version = "1.8" }
regex = { version = "1.10" }
scroll = { version = "0.12" }
flexi_logger = { version = "0.27" }
termcolor = { version = "1.4" }
memoffset = { version = "0.9" }
dynamic-loader-cache = { version = "0.1" }

clap = { version = "4.5", features = [
"color",
Expand Down
Loading

0 comments on commit fb5a7eb

Please sign in to comment.