Home
last modified time | relevance | path

Searched refs:insn_state (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/objtool/include/objtool/
Dcheck.h13 struct insn_state { struct
/linux-6.12.1/tools/objtool/
Dcheck.c328 static void init_insn_state(struct objtool_file *file, struct insn_state *state, in init_insn_state()
2752 static bool has_modified_stack_frame(struct instruction *insn, struct insn_state *state) in has_modified_stack_frame()
2782 static bool has_valid_stack_frame(struct insn_state *state) in has_valid_stack_frame()
3360 struct insn_state *state) in handle_insn_ops()
3537 struct insn_state *state) in validate_call()
3560 struct insn_state *state) in validate_sibling_call()
3570 static int validate_return(struct symbol *func, struct instruction *insn, struct insn_state *state) in validate_return()
3645 struct instruction *insn, struct insn_state state) in validate_branch()
3893 struct insn_state *state) in validate_unwind_hint()
3908 struct insn_state state; in validate_unwind_hints()
[all …]
/linux-6.12.1/include/linux/
Dbpf_verifier.h745 int *insn_state; member
/linux-6.12.1/kernel/bpf/
Dverifier.c16054 int *insn_state = env->cfg.insn_state; in push_insn() local
16056 if (e == FALLTHROUGH && insn_state[t] >= (DISCOVERED | FALLTHROUGH)) in push_insn()
16059 if (e == BRANCH && insn_state[t] >= (DISCOVERED | BRANCH)) in push_insn()
16074 if (insn_state[w] == 0) { in push_insn()
16076 insn_state[t] = DISCOVERED | e; in push_insn()
16077 insn_state[w] = DISCOVERED; in push_insn()
16082 } else if ((insn_state[w] & 0xF0) == DISCOVERED) { in push_insn()
16089 } else if (insn_state[w] == EXPLORED) { in push_insn()
16091 insn_state[t] = DISCOVERED | e; in push_insn()
16497 int *insn_stack, *insn_state; in check_cfg() local
[all …]