Skip to content
Snippets Groups Projects
Commit 975c0215 authored by Matthew McGill's avatar Matthew McGill
Browse files

changed class name

Former-commit-id: d17426c5fbeca3bb089361aa3f21f27c31fbf7c6
parent b31985d4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment