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:
authorAndrey <lopsin232@gmail.com>2026-11-23 23:56:18 +0300
committerAndrey <lopsin232@gmail.com>2026-11-24 11:11:51 +0300
commitd95facb71b6fd4cbfe8ced45c07d0734a95bec1e (patch)
tree85221df15b1d6d36e0fbfa346ebd9222d06a5d8e /runtime/src/pe_loader.cpp
parent1c93c8697078c3ccbd6f374caf5bb3ab0b6bc8e4 (diff)
tools: close oracle in vcmp16_opsel_probe, support argv in main, and guard results
tools/vcmp16_opsel_probe.py opened the hardware oracle without closing it in a finally block, accepted no argv argument in main(), and indexed oracle.run() directly without verifying whether the runner returned an empty, None, or short result list. - Support optional argv in main(argv=None). - Close oracle in a finally: block on exit. - Guard oracle.run() output, reporting empty, None, or short result counts as harness errors with exit code 2. - Add comprehensive MainAndOracleLifecycleTest covering rule mode, hardware success, mismatch, kernel rejection, empty/None/short result lists, and runner unavailability. AI-assisted: yes
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions