MCPcopy Create free account
hub / github.com/F-Stack/f-stack / get_node_idx

Function get_node_idx

dpdk/lib/bpf/bpf_validate.c:1785–1789  ·  view source on GitHub ↗

* helper function, return instruction index for the given node. */

Source from the content-addressed store, hash-verified

1783 * helper function, return instruction index for the given node.
1784 */
1785static uint32_t
1786get_node_idx(const struct bpf_verifier *bvf, const struct inst_node *node)
1787{
1788 return node - bvf->in;
1789}
1790
1791/*
1792 * helper function, used to walk through constructed CFG.

Callers 7

add_edgeFunction · 0.85
dfsFunction · 0.85
save_safe_eval_stateFunction · 0.85
save_cur_eval_stateFunction · 0.85
restore_cur_eval_stateFunction · 0.85
prune_eval_stateFunction · 0.85
evaluateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected