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

Function IsCop0ImplementationDefined

arch/mips/il.cpp:268–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268static bool IsCop0ImplementationDefined(uint32_t reg, uint64_t sel)
269{
270 switch (reg)
271 {
272 case 9:
273 switch (sel)
274 {
275 case 6:
276 case 7: return true;
277 default: return false;
278 }
279 break;
280 case 11:
281 switch (sel)
282 {
283 case 6:
284 case 7: return true;
285 default: return false;
286 }
287 break;
288 case 16:
289 switch (sel)
290 {
291 case 6:
292 case 7: return true;
293 default: return false;
294 }
295 break;
296 case 22: return true;
297 default: return false;
298 }
299}
300
301// Get the IL Register for a given cop0 register/selector pair.
302// Returns REG_ZERO for unsupported/unimplemented values.

Callers 2

MoveFromCoprocessorFunction · 0.85
MoveToCoprocessorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected