Skip to content

Commit

Permalink
Fix jumps
Browse files Browse the repository at this point in the history
  • Loading branch information
romainguy committed Jun 7, 2024
1 parent a3bbdb6 commit 099f0a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ internal class OatDumpParser {
}

val jumpAddress = if (callAddress == -1) {
-1
} else {
jumpRegex.matchEntire(code)?.getValue("address")?.toInt(16) ?: -1
} else {
-1
}

return Instruction(address.toInt(16), "0x$address: $code", jumpAddress, callAddress)
Expand Down

0 comments on commit 099f0a7

Please sign in to comment.