MCPcopy Create free account
hub / github.com/dobin/RedEdr / pointer_to_uint64

Function pointer_to_uint64

RedEdrShared/utils.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39uint64_t pointer_to_uint64(PVOID ptr) {
40 return static_cast<uint64_t>(reinterpret_cast<uintptr_t>(ptr));
41}
42
43PVOID uint64_to_pointer(uint64_t i) {
44 PVOID ptr = reinterpret_cast<PVOID>(static_cast<uintptr_t>(i));

Callers 1

ProcessPebInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected