From: Christoph Egger Date: Tue, 10 Mar 2015 11:36:48 +0000 (+0100) Subject: Properly initialize end address in BasicBlock X-Git-Tag: v0.1~57 X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=commitdiff_plain;h=f58969ddf1d22882bff102ef597c6f129255894a Properly initialize end address in BasicBlock having random data show up there when the block isn't finished yet is suboptimal --- diff --git a/src/core/BasicBlock.hxx b/src/core/BasicBlock.hxx index bec0da3..0df07b2 100644 --- a/src/core/BasicBlock.hxx +++ b/src/core/BasicBlock.hxx @@ -54,6 +54,7 @@ public: private: BasicBlock(uint64_t start_address, InformationManager* manager) : start_address(start_address) + , end_address(0) , manager(manager) { next_blocks[0] = 0; next_blocks[1] = 0;