tools/objtool/include/objtool/cfi.h

Source file repositories/reference/linux-study-clean/tools/objtool/include/objtool/cfi.h

File Facts

System
Linux kernel
Corpus path
tools/objtool/include/objtool/cfi.h
Extension
.h
Size
796 bytes
Lines
43
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

struct cfi_reg {
	int base;
	int offset;
};

struct cfi_init_state {
	struct cfi_reg regs[CFI_NUM_REGS];
	struct cfi_reg cfa;
};

struct cfi_state {
	struct hlist_node hash; /* must be first, cficmp() */
	struct cfi_reg regs[CFI_NUM_REGS];
	struct cfi_reg vals[CFI_NUM_REGS];
	struct cfi_reg cfa;
	int stack_size;
	int drap_reg, drap_offset;
	unsigned char type;
	bool bp_scratch;
	bool drap;
	bool signal;
	bool end;
	bool force_undefined;
};

#endif /* _OBJTOOL_CFI_H */

Annotation

Implementation Notes