MCPcopy Index your code
hub / github.com/dtrace4linux/linux / mem_set_perms

Function mem_set_perms

driver/dtrace_linux.c:1442–1616  ·  view source on GitHub ↗

/ Set a memory page to be writable, so we can patch it. Save the */ info so we can undo the changes afterwards. This is for x86-64, */ since it has a 4 level page table. Every part of the walk to */ the final PTE needs to be writable, not just the entry itself. */ Reference: */ http://www.intel.com/design/processor/applnots/317080.pdf */ /

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

set_page_protFunction · 0.85
memory_set_rwFunction · 0.85

Calls 4

printkFunction · 0.85
get_proc_addrFunction · 0.85
print_pteFunction · 0.85
dtrace_clflushFunction · 0.85

Tested by

no test coverage detected