| 215 | } |
| 216 | |
| 217 | static bool IsMemoryPadding(uptr address, uptr size) { |
| 218 | u8* function = (u8*)address; |
| 219 | for (size_t i = 0; i < size; ++i) |
| 220 | if (function[i] != 0x90 && function[i] != 0xCC) |
| 221 | return false; |
| 222 | return true; |
| 223 | } |
| 224 | |
| 225 | static const u8 kHintNop8Bytes[] = { |
| 226 | 0x0F, 0x1F, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00 |
no outgoing calls
no test coverage detected