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:
authorNolan Cotter <186326284+NolanCotter@users.noreply.github.com>2026-11-22 18:34:12 -0700
committerNolan Cotter <186326284+NolanCotter@users.noreply.github.com>2026-11-22 18:34:12 -0700
commit92848ba9545568e5e9144d4c0c544d84fa1b784e (patch)
tree4cbc222ec49b788741c818d266e0743f6954a20f /runtime/src/pe_loader.cpp
parente6aa3412447c95e72408ed6b0a7f2ce2ff1815af (diff)
shims: undetected queue slot 18 answers the frequency getter
shdann's second case on #2490: a title reads the timestamp frequency at start-up, before any fence call has detected the layout. Slot 18 then went to the PC GetDesc - a struct-return write of a whole desc through a caller that passed an 8-byte out pointer - so the frequency came back unset (and the write overran). While the layout is still unknown the call is served as the newer layout's GetTimestampFrequency instead: an 8-byte write stays inside either interpretation's buffer. A queue or device already proven older keeps the generic GetDesc forward; slots 19 and 20 stay no-ops because their newer interpretations write through caller pointers an unmodelled older method might not supply. The mock queue's slot 16 now writes a fixed frequency (unless the argument is a mock object - then it is a newer Signal's fence), and check_signalx_detection covers the undetected query and the post- detection shifted path.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions