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

Function RegisterSizeFromPrefix

arch/armv7/thumb2_disasm/il_thumb2.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27static uint32_t RegisterSizeFromPrefix(const char* prefix = "")
28{
29 if (strcmp(prefix, "s") == 0)
30 return 4;
31 if (strcmp(prefix, "d") == 0)
32 return 8;
33 if (strcmp(prefix, "q") == 0)
34 return 16;
35 return 4;
36}
37
38static ExprId ReadRegister(LowLevelILFunction& il, decomp_result* instr, uint32_t reg, size_t size = 4, const char* prefix = "")
39{

Callers 3

ReadRegisterFunction · 0.85
GetRegisterSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected