MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / PrintRegister

Function PrintRegister

examples/llil_parser/src/llil_parser.cpp:152–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151
152static void PrintRegister(LowLevelILFunction* func, uint32_t reg)
153{
154 if (LLIL_REG_IS_TEMP(reg))
155 printf("temp%d", LLIL_GET_TEMP_REG_INDEX(reg));
156 else
157 {
158 string name = func->GetArchitecture()->GetRegisterName(reg);
159 if (name.size() == 0)
160 printf("<no name>");
161 else
162 printf("%s", name.c_str());
163 }
164}
165
166
167static void PrintFlag(LowLevelILFunction* func, uint32_t flag)

Callers 1

PrintILExprFunction · 0.85

Calls 6

LLIL_REG_IS_TEMPFunction · 0.85
LLIL_GET_TEMP_REG_INDEXFunction · 0.85
c_strMethod · 0.80
GetRegisterNameMethod · 0.45
GetArchitectureMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected