Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
26
static inline void *
27
page_align(void *addr)
28
{
29
assert(addr != 0);
30
return ( void * )(( size_t )addr & ~(0xFFFF));
31
}
32
33
void writeJmp(void *func, void *replacement)
34
{
Callers
1
writeJmp
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected