Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix gdb attach on ARM thumb mode #1285

Merged
merged 4 commits into from
Dec 9, 2022
Merged

Conversation

elicn
Copy link
Member

@elicn elicn commented Dec 6, 2022

Linkers set the entry point LSB to indicate ARM thumb mode, however the effective entry point address is aligned. Since gdb hooks the entry point, it needs to take the aligned address into consideration and not the reported one.

Fixes #1282

@elicn elicn marked this pull request as draft December 7, 2022 11:23
@elicn elicn marked this pull request as ready for review December 8, 2022 07:10
@elicn elicn requested review from kabeor and xwings December 8, 2022 13:09
@xwings xwings merged commit f714c8f into qilingframework:dev Dec 9, 2022
@elicn elicn deleted the fix-gdb-thumb branch December 9, 2022 09:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants