Skip to content

Prepocessor for x86_64 arch#39

Merged
AstroVasseL merged 11 commits intomainfrom
feature/x86-preprocessor
May 7, 2026
Merged

Prepocessor for x86_64 arch#39
AstroVasseL merged 11 commits intomainfrom
feature/x86-preprocessor

Conversation

@AstroVasseL
Copy link
Copy Markdown
Collaborator

No description provided.

@AstroVasseL AstroVasseL marked this pull request as ready for review May 4, 2026 09:26
Comment thread asmtransformers/asmtransformers/x86.py Outdated
import re
from collections.abc import Callable, Iterator

from networkx import DiGraph
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are planning on exorcising this particular dependency from the arm64 branches in favour of dicts/lists.

Comment thread asmtransformers/asmtransformers/x86.py Outdated
)


# Ghidra prefixes memory operands with a size qualifier followed by the keyword 'ptr'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not just Ghidra - it's standard intel syntax x86 assembler. That's because x86 instruction can operate on different operand widths. With registers the width is implied, but in memory locations that's not specified and needs to be made explicit.

Comment thread asmtransformers/asmtransformers/x86.py
Comment thread asmtransformers/asmtransformers/x86.py
@AstroVasseL AstroVasseL merged commit e3254be into main May 7, 2026
4 checks passed
@AstroVasseL AstroVasseL deleted the feature/x86-preprocessor branch May 7, 2026 08:27
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