MCPcopy Create free account
hub / github.com/KDAB/GammaRay / page_align

Function page_align

tests/hooktest/main.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include <sys/errno.h>
25
26static inline void *
27page_align(void *addr)
28{
29 assert(addr != 0);
30 return ( void * )(( size_t )addr & ~(0xFFFF));
31}
32
33void writeJmp(void *func, void *replacement)
34{

Callers 1

writeJmpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected