upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_constructor_oom_test.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-23 11:22:25 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 05:55:40 -0500
commitb8951357f12bf7bdc80e46b8f31d42fb1bdc3c9c (patch)
treee76a183b1fd46accd6b80d5b958f0e148521f6c5 /runtime/test/vk_queue_constructor_oom_test.cpp
parent21625bca8c675c62f9dbffc318ce6a59d57faf31 (diff)
pe_inspect: read the resource directory and the RT_VERSION block without its strings
Data directory 2 was never read, so the report said nothing about the version block, the one part of a PE that names its build. The block's values are free UTF-16 text that can name the title, so the report holds no value: - resources: the types present with entry and byte counts; named types are counted, not named. - version: the fixed file info's numbers (file and product version, flags with their names, OS, type, subtype, date), the translations, and per string table each standard key with its value's length and SHA-256. A key outside the standard names is listed by its hash. - problems: a resource tree or version block that is cut short, loops, points outside the file or has a bad signature is listed (offsets and counts only); the rest of the report is still written. The Markdown report gets a Resources section and stdout one line per image with a version block. The tests build a resource tree and a version block by hand, check that the made-up values reach no output, and cover a missing directory, a cut file, malformed blocks and a loop in the tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_constructor_oom_test.cpp')
0 files changed, 0 insertions, 0 deletions