Skip to content

Handle Procedure Linkage calls for 32bit x86 from gcc#1088

Merged
PeterMatula merged 1 commit intoavast:masterfrom
richardlford:gcc-x86-plt
Jul 21, 2022
Merged

Handle Procedure Linkage calls for 32bit x86 from gcc#1088
PeterMatula merged 1 commit intoavast:masterfrom
richardlford:gcc-x86-plt

Conversation

@richardlford
Copy link
Copy Markdown
Contributor

This case is for x86 32 bit compiled with GCC. Its PLT entries are in
sections .plt.sec or .plt.got. An entry is of the form:

jmp *offset(%ebx)

When this code is encountered register %ebx has been loaded with the
address of the start of the Global Offset Table (.got) section.
This change handles that case.

This case is for x86 32 bit compiled with GCC. Its PLT entries are in
sections .plt.sec or .plt.got. An entry is of the form:

jmp *offset(%ebx)

When this code is encountered register %ebx has been loaded with the
address of the start of the Global Offset Table (.got) section.
This change handles that case.
@PeterMatula PeterMatula merged commit 3435bc8 into avast:master Jul 21, 2022
@PeterMatula
Copy link
Copy Markdown
Collaborator

Again, thanks @richardlford for the change, and double for the tests.

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