upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorLeonardo Guimaraes <leozinhoszg@gmail.com>2026-11-22 11:14:51 -0300
committerLeonardo Guimaraes <leozinhoszg@gmail.com>2026-11-22 12:07:58 -0300
commit1025189c7257a8d00ff9b2794cea5e50ae290008 (patch)
tree7d2c8bae2e31f386456c5e7b2a24b43d53f8808c /runtime/src/pe_loader.cpp
parent6a6704df1592e1dc4a3215ddf1423a78adb52045 (diff)
tools/imhex: ImHex pattern for PSIN containers
psin.hexpat lays out a container as docs/psin.md describes it: the big-endian first-section offset, the instance-data block table (rows, the pppppppp end) and its blocks as raw bytes, the section chain, LSCH struct headers and members and LENM enums and values (header count by the fill-exact rule psin_index.py uses), the LSNS block table with opaque 16-byte records, the LRSC 0DRP version and root block, and the CHKS file size. A section past the end of a truncated stream is shown as raw bytes. tests/test_imhex_patterns.py builds a synthetic container from the invented schema in test_psin_index.py, checks it with psin_index.parse and psin_data.block_table, and when ImHex is installed compares the pattern's output with both, plus a container cut inside LENM.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions