-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PreciseLeakSanitizer: Add instrumentation functions and fix something…
… wrong
- Loading branch information
1 parent
07e9927
commit 3696a54
Showing
5 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#include "plsan_storage.h" | ||
|
||
namespace __plsan { | ||
|
||
PlsanStorage::PlsanStorage() {} | ||
|
||
void PlsanStorage::push_function() {} | ||
|
||
void PlsanStorage::pop_function() {} | ||
|
||
void PlsanStorage::add_mem_addr() {} | ||
// Not shadow memmory address, but origin address is needed. | ||
void PlsanStorage::add_mem_addr(void *addr) {} | ||
|
||
LocalDynAllocStorage PlsanStorage::get_function_stack() { | ||
return function_stack; | ||
} | ||
|
||
} // namespace __plsan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters