Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon committed Oct 31, 2023
1 parent f9e52f9 commit 54c67f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cfg/instruction-sets/arm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ export class ArmInstructionSetInfo extends BaseInstructionSetInfo {
static returnInstruction = new RegExp(
'(?:' +
[`bx`, `ret`].map(re => `(?:${re})`).join('|') +
')\\b.+' +
`|pop\\s*\\{(?:r(?:\\d{2,}|[4-9]),\\s*)*pc\\}.+` +
`|mov\\s*pc\\s*,.+`,
')\\b.*' +
`|pop\\s*\\{(?:r(?:\\d{2,}|[4-9]),\\s*)*pc\\}.*` +
`|mov\\s*pc\\s*,.*`,
);

static override get key(): InstructionSet[] {
Expand Down

0 comments on commit 54c67f9

Please sign in to comment.