Re: [PATCH v10 3.3-rc2 1/9] uprobes: Install and remove breakpoints.
From: Srikar Dronamraju <hidden>
Date: 2012-02-09 08:40:04
Also in:
lkml
From: Srikar Dronamraju <hidden>
Date: 2012-02-09 08:40:04
Also in:
lkml
quoted
quoted
I am confused by why we need to call insn_get_length(insn) before checking insn->rex_prefix.nbytes? Is it needed.Ah, certainly, no, if the insn is already decoded.
Okay,
quoted
uprobe->arch_info.rip_rela_target_address = 0x0; if (!insn_rip_relative(insn)) return;Here, I think it is better to add a comment that insn_rip_relative() decodes until modrm. :)
Will do.
quoted
return; }Confirmed, this looks good to me ;) Thanks!
Okay, Thanks for confirming, Do you have a handy instruction whose REX.B is set that I could use to test. -- Thanks and Regards Srikar -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>