summaryrefslogtreecommitdiff
path: root/minix/llvm?id=c07c198b5fe5aa14cf13f25534c15b7e9abfcf86
diff options
context:
space:
mode:
authorDavid van Moolenbroek <david@minix3.org>2015-09-06 11:16:12 +0200
committerDavid van Moolenbroek <david@minix3.org>2015-09-17 14:07:31 +0000
commitc07c198b5fe5aa14cf13f25534c15b7e9abfcf86 (patch)
treeaaa986979deeffacab6b6b38eb481c97e88e95e7 /minix/llvm?id=c07c198b5fe5aa14cf13f25534c15b7e9abfcf86
parent76b68f9f99acc504d30212cb3424f87dd2ec0fd5 (diff)
Disable malloc instrumentation for VM (#2)
When the malloc code is instrumented, the global _brksize variable should not be transferred. However, when the malloc code is not instrumented, failing to transfer _brksize would reset the heap upon state transfer. In this patch, the magic pass stores the flag indicating whether memory function instrumentation is disabled, in the target process. This allows libmagic to check this flag during state transfer, to see whether it should transfer _brksize or not. Change-Id: Ia004651e21e08b0ed3f5305865c53c6659e18f38
Diffstat (limited to 'minix/llvm?id=c07c198b5fe5aa14cf13f25534c15b7e9abfcf86')
0 files changed, 0 insertions, 0 deletions