diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-26 21:43:17 -0700 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-26 21:43:17 -0700 |
commit | 1d4763bc94c9887bc4171374202a5d12be1fc10f (patch) | |
tree | 1ea6fb996d658148e1a193f61751ea7765184037 /WitnessRandomizer/Memory.h | |
parent | 9503fc300e1c2d9fcddcf5b8ecc009cd4429337a (diff) | |
download | witness-tutorializer-1d4763bc94c9887bc4171374202a5d12be1fc10f.tar.gz witness-tutorializer-1d4763bc94c9887bc4171374202a5d12be1fc10f.tar.bz2 witness-tutorializer-1d4763bc94c9887bc4171374202a5d12be1fc10f.zip |
Way better caching.
Diffstat (limited to 'WitnessRandomizer/Memory.h')
-rw-r--r-- | WitnessRandomizer/Memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WitnessRandomizer/Memory.h b/WitnessRandomizer/Memory.h index 390269c..6f5b8b7 100644 --- a/WitnessRandomizer/Memory.h +++ b/WitnessRandomizer/Memory.h | |||
@@ -47,7 +47,7 @@ private: | |||
47 | 47 | ||
48 | uintptr_t ComputeOffset(std::vector<int> offsets); | 48 | uintptr_t ComputeOffset(std::vector<int> offsets); |
49 | 49 | ||
50 | std::map<std::vector<int>, uintptr_t> _computedOffsets; | 50 | std::map<uintptr_t, uintptr_t> _computedAddresses; |
51 | uintptr_t _baseAddress; | 51 | uintptr_t _baseAddress; |
52 | HANDLE _handle; | 52 | HANDLE _handle; |
53 | }; \ No newline at end of file | 53 | }; \ No newline at end of file |