Last active
January 5, 2023 11:22
-
-
Save SeeFlowerX/3ca69557465c0ff50a75c89141e1d3e9 to your computer and use it in GitHub Desktop.
frida 获取 lr 信息
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function get_lr_info(ctx: Arm64CpuContext) { | |
let mm = new ModuleMap(); | |
let lr_info = mm.find(ctx.lr); | |
if (lr_info == null) return ""; | |
return ` ${lr_info.name}!${ctx.lr.sub(lr_info.base)}`; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment