Skip to content

[ARM] instr. with pc writes are not part of jump group #2233

New issue

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

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

Already on GitHub? Sign in to your account

Closed
Rot127 opened this issue Jan 4, 2024 · 0 comments · Fixed by #2267
Closed

[ARM] instr. with pc writes are not part of jump group #2233

Rot127 opened this issue Jan 4, 2024 · 0 comments · Fixed by #2267

Comments

@Rot127
Copy link
Collaborator

Rot127 commented Jan 4, 2024

An instruction which writes to pc should be part of the jump group.

Similar logic is added for pop instructions which write to pc ( 4fc80d8)

As an example, this mov should be of the jump group.

./cstool -d thumb 8746
 0  87 46  mov	pc, r0
	ID: 28 (mov)
	op_count: 2
		operands[0].type: REG = r15
		operands[0].access: WRITE
		operands[1].type: REG = r0
		operands[1].access: READ
	Registers read: r0
	Registers modified: r15
	Groups: IsThumb 
Rot127 added a commit to Rot127/capstone that referenced this issue Feb 5, 2024
@Rot127 Rot127 mentioned this issue Feb 5, 2024
Rot127 added a commit to Rot127/capstone that referenced this issue Feb 6, 2024
Rot127 added a commit to Rot127/capstone that referenced this issue Feb 6, 2024
Rot127 added a commit to Rot127/capstone that referenced this issue Feb 15, 2024
kabeor pushed a commit that referenced this issue Feb 15, 2024
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 a pull request may close this issue.

1 participant