DiabloHorn/zmem
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
zmem zeroes memory before it's freed This is a simple and small project that wraps the following APIs: free --> zfree GlobalFree --> zGlobalFree LocalFree --> zLocalFree HeapFree --> zHeapFree The only action that is performed by the wrapper is to zero the memory before it's released. The goal is to prevent the leaking of sensitive information when someone performs memory forensics on your machine. As an example here is the output of a small test application: /* used z* free functions */ entered hooked heapfree entered hooked globalfree entered hooked localfree entered hooked heapfree /* used regular free functions */ entered hooked heapfree eeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeee entered hooked globalfree fffffffffffffffffffffffffff ffffffffffffffffffff entered hooked localfree ggggggggggggggggggggggggggg gggggggggggggggggggg entered hooked heapfree hhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhh Like you can see the first output contains blank lines the second output of the same functions contain data. As you can imagine the second ones didn't implement the z* function.
About
wrappers to zero memory before it's freed
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published