From 975c021504519ace52cae6ceb320e7e0b6587672 Mon Sep 17 00:00:00 2001 From: Matthew McGill <mm8bx@mega-techx41.maas> Date: Tue, 4 Sep 2018 17:31:29 +0000 Subject: [PATCH] changed class name Former-commit-id: d17426c5fbeca3bb089361aa3f21f27c31fbf7c6 --- libIRDB/include/util/IBT_Provenance.hpp | 6 +++--- libIRDB/src/util/IBT_Provenance.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libIRDB/include/util/IBT_Provenance.hpp b/libIRDB/include/util/IBT_Provenance.hpp index 9028dfd90..be9b37760 100644 --- a/libIRDB/include/util/IBT_Provenance.hpp +++ b/libIRDB/include/util/IBT_Provenance.hpp @@ -3,15 +3,15 @@ #include <bitset> -class IBT_Provenance_t +class IBTProvenance_t { private: enum class IB_Type { IndJmp = 0, IndCall = 1, Ret = 2 }; typedef std::map<const Instruction_t*, std::bitset<3>> ProvMap_t; public: - IBT_Provenance_t(const FileIR_t* f=NULL) {Init(); if(f) AddFile(f);} - virtual ~IBT_Provenance_t() {;} + IBTProvenance_t(const FileIR_t* f=NULL) {Init(); if(f) AddFile(f);} + virtual ~IBTProvenance_t() {;} virtual void AddFile(const FileIR_t* ); bool IsInsnRetTarg(const Instruction_t* i) const diff --git a/libIRDB/src/util/IBT_Provenance.cpp b/libIRDB/src/util/IBT_Provenance.cpp index 587457c71..7b4100db2 100644 --- a/libIRDB/src/util/IBT_Provenance.cpp +++ b/libIRDB/src/util/IBT_Provenance.cpp @@ -9,7 +9,7 @@ using namespace std; -void IBT_Provenance_t::AddProvs(const Instruction_t* before, const InstructionSet_t& afterset) +void IBTProvenance_t::AddProvs(const Instruction_t* before, const InstructionSet_t& afterset) { // Determine type of IB const auto IndBranchAsm=DecodedInstruction_t(before); @@ -44,7 +44,7 @@ void IBT_Provenance_t::AddProvs(const Instruction_t* before, const InstructionSe } } -void IBT_Provenance_t::AddFile(const FileIR_t* firp2) +void IBTProvenance_t::AddFile(const FileIR_t* firp2) { FileIR_t* firp=(FileIR_t*)firp2; // discarding const qualifier because we know we won't change the set firp->AssembleRegistry(); // Takes time but I'm paranoid -- GitLab