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

Function PrintFlag

examples/llil_parser/src/llil_parser.cpp:167–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167static void PrintFlag(LowLevelILFunction* func, uint32_t flag)
168{
169 if (LLIL_REG_IS_TEMP(flag))
170 printf("cond:%d", LLIL_GET_TEMP_REG_INDEX(flag));
171 else
172 {
173 string name = func->GetArchitecture()->GetFlagName(flag);
174 if (name.size() == 0)
175 printf("<no name>");
176 else
177 printf("%s", name.c_str());
178 }
179}
180
181
182static void PrintILExpr(const LowLevelILInstruction& instr, size_t indent)

Callers 1

PrintILExprFunction · 0.85

Calls 6

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

Tested by

no test coverage detected