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

Method GetRegisterNameCallback

architecture.cpp:310–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309
310char* Architecture::GetRegisterNameCallback(void* ctxt, uint32_t reg)
311{
312 CallbackRef<Architecture> arch(ctxt);
313 string result = arch->GetRegisterName(reg);
314 return BNAllocString(result.c_str());
315}
316
317
318char* Architecture::GetFlagNameCallback(void* ctxt, uint32_t flag)

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.80
GetRegisterNameMethod · 0.45

Tested by

no test coverage detected