CCRHAbsExpandPlugin
WinMerge FILE_PACK_UNPACK plugin that expands a CC-RH .abs ELF load module
into deterministic text for comparison.
The plugin displays the ELF header, sections, section bytes, and symbols. It is
processor-model independent, so the same plugin can compare RH850/U2C4,
RH850/P1M-E, and other RH850 load modules produced by CC-RH.
Plugin behavior
- File filter:
*.abs
- Automatic application: disabled
- Invocation: select Plugins > Unpacker > Expand CC-RH ABS (ELF) in WinMerge
- Pack operation: unsupported; the source
.abs file is never modified
- Invalid or non-ELF input: expansion fails without replacing the comparison input
The .abs extension is only used to make the plugin available in WinMerge. It
does not make the plugin the default unpacker for .abs files.
Build
Prerequisites:
- Rust toolchain (
stable-x86_64-pc-windows-msvc)
- Visual Studio Build Tools (C++)
- Windows SDK (with
midl.exe)
cargo build --release --target x86_64-pc-windows-msvc
Output DLL:
target\x86_64-pc-windows-msvc\release\ccrh_abs_expand.dll
Install
WinGet
After the package is published in the Windows Package Manager community
repository, install it with:
winget install --id mogwai-dev.CCRHAbsExpandPlugin -e
To upgrade or uninstall:
winget upgrade --id mogwai-dev.CCRHAbsExpandPlugin -e
winget uninstall --id mogwai-dev.CCRHAbsExpandPlugin -e
Installer
Download and run CCRHAbsExpandPlugin-x64-setup.exe from the latest GitHub
Release. The installer installs for the current user and does not require
administrator privileges.
Manual install
Copy CCRHAbsExpand.dll into %APPDATA%\WinMerge\MergePlugins\.
Restart WinMerge after installing or replacing the DLL.
Test
cargo test --target x86_64-pc-windows-msvc
Release
Pushing a tag such as v0.1.0 builds and publishes the DLL, ZIP archive, and
per-user installer as GitHub Release assets.