MCPcopy Create free account
hub / github.com/qilingframework/qiling / write

Method write

qiling/os/uefi/smm.py:81–87  ·  view source on GitHub ↗

Replace a register value in SMM save state area.

(self, regidx: EFI_SMM_SAVE_STATE_REGISTER, data: bytes)

Source from the content-addressed store, hash-verified

79 return self.ql.mem.read(reg, width)
80
81 def write(self, regidx: EFI_SMM_SAVE_STATE_REGISTER, data: bytes) -> None:
82 """Replace a register value in SMM save state area.
83 """
84
85 reg = self.ssa_base + SaveStateArea.offsets[regidx]
86
87 self.ql.mem.write(reg, data)
88
89class SmmEnv:
90 SSA_REG_MAP = {

Callers 15

__leaf_3fFunction · 0.45
__leaf_40Function · 0.45
handlerFunction · 0.45
__leaf_02Function · 0.45
__leaf_42Function · 0.45
runMethod · 0.45
ql_qnx_msg_io_connectFunction · 0.45
ql_qnx_msg_mem_mapFunction · 0.45
ql_qnx_msg_sys_confFunction · 0.45
updateToMemMethod · 0.45
ql_syscall_clock_gettimeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected