2 #include <linux/compiler.h> 17 if (!regexec(&arm->
jump_insn, name, 2, match, 0))
19 else if (!regexec(&arm->
call_insn, name, 2, match, 0))
21 else if (!strcmp(name,
"ret"))
38 arm =
zalloc(
sizeof(*arm));
43 err = regcomp(&arm->
call_insn,
"^blr?$", REG_EXTENDED);
47 err = regcomp(&arm->
jump_insn,
"^[ct]?br?\\.?(cc|cs|eq|ge|gt|hi|le|ls|lt|mi|ne|pl)?n?z?$",
static struct ins_ops jump_ops
static int arm64__annotate_init(struct arch *arch, char *cpuid __maybe_unused)
struct ins_ops *(* associate_instruction_ops)(struct arch *arch, const char *name)
static struct ins_ops ret_ops
static struct ins_ops * arm64__associate_instruction_ops(struct arch *arch, const char *name)
static int arch__associate_ins_ops(struct arch *arch, const char *name, struct ins_ops *ops)
static struct ins_ops call_ops
void static void * zalloc(size_t size)