2个版本
0.0.2 | 2020年3月20日 |
---|---|
0.0.1 | 2020年3月12日 |
#6 in #macho
11KB
214 代码行
I
mport E
xlport F
ind
使用goblin在跨平台ELF/PE/MachO中执行导入/导出搜索。
使用ignore crate进行快速递归目录迭代,同时尊重各种过滤器,如glob、文件类型和.gitignore
文件。
构建/安装
git (HEAD)
git clone https://github.com/etke/ief && cd ief
cargo build --release
cargo install --path .
cargo
cargo install ief
使用方法
Usage: ief <path> <-e|-i|-l> <name>
性能
在运行Win10的Surface Pro上,ief
能够在约74.1
秒内递归搜索C:\Windows\System32
中的导入ntdll.dll
的二进制文件。
PS C:\Users\etke> Measure-Command { ief 'C:\Windows\System32\' -l ntdll.dll | Out-Host }
searching for library import "ntdll.dll" in C:\Windows\System32\
C:\Windows\System32\aadauthhelper.dll
(...) // edited for brevity
C:\Windows\System32\zipfldr.dll
Days : 0
Hours : 0
Minutes : 1
Seconds : 14
Milliseconds : 169
Ticks : 741690457
TotalDays : 0.000858438028935185
TotalHours : 0.0206025126944444
TotalMinutes : 1.23615076166667
TotalSeconds : 74.1690457
TotalMilliseconds : 74169.0457
依赖项
~5–14MB
~161K SLoC