Date: | Sun, 28 Nov 2021 15:44:47 -0800 |
---|---|
From: | noreply@xxxxxxxxxx |
Subject: | [DynInst_API:] [dyninst/dyninst] 94252b: Clean up memoryTracker usage in binaryEdit (#877) |
Branch: refs/heads/master Home: https://github.com/dyninst/dyninst Commit: 94252b8ce87293da4b10d0cee550e7ad0507a3ae https://github.com/dyninst/dyninst/commit/94252b8ce87293da4b10d0cee550e7ad0507a3ae Author: Tim Haines <thaines.astro@xxxxxxxxx> Date: 2021-11-28 (Sun, 28 Nov 2021) Changed paths: M dyninstAPI/src/binaryEdit.C M dyninstAPI/src/binaryEdit.h M dyninstAPI/src/codeRange.h Log Message: ----------- Clean up memoryTracker usage in binaryEdit (#877) * Store memoryTracker_ as a value instead of pointer This provides cleaner semantics for its usage and ensures that the it's default-constructed correctly. * Code cleanup * Give codeRange a virtual destructor This will ensure that memoryTracker objects removed from a codeTree will correctly get destroyed. * Simplify inferiorFree * Free any remaining memoryTrackers on destruction |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] f4ad9e: Clean up BPatch::createEnum, Tim Haines |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] 1e47dd: Remove vestiges of runtime functions, Tim Haines |
Previous by Thread: | [DynInst_API:] [dyninst/dyninst] 93204b: Add x86 xsavec instruction (#1074), noreply |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] 96c6ff: Remove valueAdded subdirectory completely (#1065), noreply |
Indexes: | [Date] [Thread] |