From ea4cfdfef205194674fa9cb1beda4eaa56fd1fb8 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 3 Mar 2015 04:04:16 -0500 Subject: Don't store instruction size list as it can be easily regenerated --- basicblock.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'basicblock.cpp') diff --git a/basicblock.cpp b/basicblock.cpp index 6fc72992..6f308307 100644 --- a/basicblock.cpp +++ b/basicblock.cpp @@ -45,19 +45,6 @@ uint64_t BasicBlock::GetLength() const } -vector BasicBlock::GetInstructionSizes() const -{ - size_t count; - uint8_t* array = BNGetBasicBlockInstructionSizes(m_block, &count); - - vector result; - result.insert(result.end(), &array[0], &array[count]); - - BNFreeBasicBlockInstructionSizeList(array); - return result; -} - - vector BasicBlock::GetOutgoingEdges() const { size_t count; -- cgit v1.3.1