MCPcopy Create free account
hub / github.com/capstone-engine/capstone / XCore_map_register

Function XCore_map_register

arch/XCore/XCoreMapping.c:285–295  ·  view source on GitHub ↗

map internal raw register to 'public' register

Source from the content-addressed store, hash-verified

283
284// map internal raw register to 'public' register
285xcore_reg XCore_map_register(unsigned int r)
286{
287 static const unsigned int map[] = { 0,
288 };
289
290 if (r < ARR_SIZE(map))
291 return map[r];
292
293 // cannot find this register
294 return 0;
295}
296
297#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…