Skip to content

docs: qualify neutral Ghidra return width assumptions - #1033

Merged
hrusten merged 1 commit into
mainfrom
feature/ghidra-neutral-return-width
Oct 3, 2026
Merged

hrusten merged 1 commit into
mainfrom
feature/ghidra-neutral-return-width

Conversation

@hrusten

@hrusten hrusten commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

Neutral undefined4 can force a full EAX result when a native exit defines only AL, causing Ghidra to invent an incoming-register expression. Document the Factory AI example and the checks needed before assigning an unknown return width or inferring void from a discarded result.

Validation: original active-retail instructions at 0x004C9B28, 0x004C9C41, 0x0055B680 and 0x0055B683, plus actual shared/private C reads of 0x004C9B20, confirm this specific pitfall. The database correction remains held for rehearsal; this PR only updates guidance. git diff --check passes.

@hrusten
hrusten enabled auto-merge October 3, 2026 14:06
@hrusten
hrusten merged commit cf4317b into main Oct 3, 2026
7 checks passed
@hrusten
hrusten deleted the feature/ghidra-neutral-return-width branch October 3, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant