Skip to content

Fix two problems with x86 extraction logic#67

Merged
brancz merged 1 commit into
mainfrom
lj-fixes
Apr 29, 2025
Merged

Fix two problems with x86 extraction logic#67
brancz merged 1 commit into
mainfrom
lj-fixes

Conversation

@gnurizen

Copy link
Copy Markdown
Collaborator

Problem 1 was the real problem and is was just the compiler using a
register to write a zero instead of an immediate.

Problem 2 was a secondary problem where our simple extraction logic
with symbols didn't match our more complex logic w/o symbols. This
was due to a broken call pattern match utility that didn't properly
detect the AABA call pattern.

Testing done with local shared library. Extraction into proper unit
tests will come in a follow on PR.

Problem 1 was the real problem and is was just the compiler using a
register to write a zero instead of an immediate.

Problem 2 was a secondary problem where our simple extraction logic
with symbols didn't match our more complex logic w/o symbols. This
was due to a broken call pattern match utility that didn't properly
detect the AABA call pattern.

Testing done with local shared library. Extraction into proper unit
tests will come in a follow on PR.
@gnurizen gnurizen requested review from brancz and umanwizard April 29, 2025 08:39
@brancz brancz merged commit bcc1079 into main Apr 29, 2025
@brancz brancz deleted the lj-fixes branch April 29, 2025 08:55
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.

2 participants