Repository navigation
Releases
iat 2.0.0
Verifying the Rust Rewrite / 驗證純 Rust 重寫版
English
iat 2.0.0 replaces the C++ 1.x implementation with Rust. Its image decoders are implemented using Rust crates rather than the C/C++ decoding libraries used by version 1.x.
1. Inspect the source code
git clone --branch v2.0.0 --depth 1 https://github.com/Kaido-MSVC/ImageAnalysisTool.git
cd ImageAnalysisTool
cargo metadata --locked --no-deps
cargo tree --lockedThe Rust workspace contains five crates: iat-core, iat-cli, iat-gui, iat-worker, and iat-av1.
2. Build from source
Requires Rust 1.100 or newer, the MSVC build tools, and the Windows SDK.
cargo build --release --locked
cargo test --workspace --lockedThe release build produces iat.exe, iat-gui.exe, and iat-worker.exe under target\release.
3. Inspect executable dependencies
Using a Visual Studio Developer PowerShell:
dumpbin /dependents target\release\iat.exe
dumpbin /dependents target\release\iat-gui.exe
dumpbin /dependents target\release\iat-worker.exeThese commands display dynamically linked DLL dependencies.
Verification scope: Cargo metadata and dependency-tree inspection help verify the Rust workspace structure. DLL inspection identifies dynamic dependencies but cannot exclude statically linked native code. A complete implementation audit also requires reviewing source code, transitive dependencies, build scripts, and native FFI usage.
The original C++ implementation remains available in the cpp-1.x branch.
繁體中文
iat 2.0.0 已將 C++ 1.x 的實作重寫為 Rust。影像解碼器採用 Rust crate,而非舊版使用的 C/C++ 解碼函式庫。
1. 檢查原始碼與相依套件
git clone --branch v2.0.0 --depth 1 https://github.com/Kaido-MSVC/ImageAnalysisTool.git
cd ImageAnalysisTool
cargo metadata --locked --no-deps
cargo tree --lockedRust workspace 包含五個 crate:iat-core、iat-cli、iat-gui、iat-worker、iat-av1。
2. 從原始碼建置與測試
需要 Rust 1.100 以上版本、MSVC 建置工具及 Windows SDK。
cargo build --release --locked
cargo test --workspace --locked成功建置後,可在 target\release 找到三個主要執行檔。
3. 檢查 EXE 的動態相依性
在 Visual Studio Developer PowerShell 執行:
dumpbin /dependents target\release\iat.exe
dumpbin /dependents target\release\iat-gui.exe
dumpbin /dependents target\release\iat-worker.exe此指令可列出執行檔直接依賴的動態 DLL。
驗證範圍說明: Cargo 指令可檢查 Rust workspace 與套件相依結構;dumpbin 可檢查動態連結,但無法排除靜態連結的原生程式碼。若要完整審核實作,仍須檢查原始碼、遞迴相依套件、建置腳本與 FFI 使用情況。
舊版 C++ 1.x 的原始碼保留於 cpp-1.x 分支。
iat 1.0.0
First public release. Analysis behavior, CLI arguments, output (including JSON field names and structure; schema_version is still 1.1) and exit codes are identical to 0.5.1; only the version string changed.
Changed
- The program is split into
iat-core(static library: the complete flow of one analysis, report data, non-overwriting writes) andiat(CLI: arguments, output, exit codes). Decoders still run only inside the Job Object ofiat-worker.exe(D34). The version number comes only from CMakeproject(VERSION);iat-coreprovides it to the CLI's--versionand to reports. - The README now describes a general-purpose before/after image conversion verifier, including the CLI interface specification and integration examples; the former README moved to
docs/development.md(D35). - The zip package now includes
README.mdandCHANGELOG.md. Before packaging, the executables are checked not to import the VC++/UCRT runtime DLLs (static CRT). README.mdis now the English main version; the Traditional Chinese version isREADME.zh-TW.md(also included in the zip). Markdown reports are currently Traditional Chinese only; JSON reports are language-independent.- Compatibility promise clarified: JSON whitespace, indentation and field order are not guaranteed; parse the JSON instead of comparing text (D36).
- Build configuration no longer contains machine-specific paths: Ninja comes from PATH, vcpkg from
VCPKG_ROOTset by the MSVC developer environment; local settings go inCMakeUserPresets.json. The CLI regression scripts are included intools/regress/(D36).
Verification
- Against 0.5.1 as the baseline, 62 CLI cases (IMB-C's invocation style, lossless and differing pairs for each format, common argument errors, resource limits and
resource_need, real PSD/PSB/PNG samples) match one by one in stdout, JSON, Markdown and exit code (except run IDs, timings and memory measurements). Unit tests 42/42, e2e 240/240.
Decision numbers (D, S) refer to docs/decisions.md.
ImageAnalysisTool-1.0.0-win-x64.zip SHA-256: ea6346cfe420babdb189c3c58d16d5522febdd83c5e66b306c2a13abe5ec5ed2