sniffROM
1.0.0
注意: Saleae Logic 版本 2 破壞了內建 SPI 分析器匯出功能,這表示 sniffROM 目前僅適用於從 Logic 版本 1.x 匯出的數據
截至 2023 年 12 月 6 日,尚不清楚此問題何時會解決。
用於串行閃存晶片的被動資料捕獲和偵察的工具。它與 Saleae 邏輯分析儀一起使用來重建快閃記憶體內容並提取有關裝置操作的上下文資訊。
請參閱 Wiki 以取得文檔
usage: sniffROM_new.py [-h] [--addrlen [{2,3,4}]] [--endian [{msb,lsb}]]
[--filter [{r,w}]] [-o [O]] [--summary] [--data-map]
[--timing-plot] [-v]
input_file
sniffROM - Reconstructs flash memory contents and extracts other data from
passively sniffed commands in a Saleae logic analyzer capture file. Currently
supports SPI and I2C flash chips.
positional arguments:
input_file Saleae Logic SPI or I2C Analyzer Export File (.csv)
optional arguments:
-h, --help show this help message and exit
--addrlen [{2,3,4}] set length of SPI memory address in bytes (default: 3)
--endian [{msb,lsb}] set endianness of SPI memory bytes (default: msb)
--filter [{r,w}] analyze only Read or Write commands (default: both)
-o [O] flash image output file name (default: output.bin)
--summary print summary of sniffed commands and metadata
--data-map show visual data map
--timing-plot show timing analysis
-v increase verbosity (up to -vvv)