MCPcopy Create free account
hub / github.com/R-Fuzz/symsan / IsMemoryPadding

Function IsMemoryPadding

runtime/interception/interception_win.cpp:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217static 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
225static const u8 kHintNop8Bytes[] = {
226 0x0F, 0x1F, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00

Callers 3

FunctionHasPaddingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected