struct arch_optimized_insn { /* * copy of the original instructions. * Different from x86, ARM kprobe_opcode_t is u32.
*/ #define MAX_COPIED_INSN DIV_ROUND_UP(RELATIVEJUMP_SIZE, sizeof(kprobe_opcode_t))
kprobe_opcode_t copied_insn[MAX_COPIED_INSN]; /* detour code buffer */
kprobe_opcode_t *insn; /* * We always copy one instruction on ARM, * so size will always be 4, and unlike x86, there is no * need for a size field.
*/
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.