Skip to content
Snippets Groups Projects
Commit 82cbee21 authored by jdh8d's avatar jdh8d
Browse files

Broken version being committed, so will can commit his broken version so we...

Broken version being committed, so will can commit his broken version so we can both finish our hacking without dealing with repo conflicts.
parent d9156638
No related branches found
No related tags found
No related merge requests found
......@@ -31,11 +31,14 @@
#ifndef zipr_h
#define zipr_h
class Zipr_t
#include <memory_space.h>
namespace Zipr_SDK
{
public:
Zipr_t() {};
class Zipr_t
{
protected:
/*
* Private, but listing them here so that SDK users
......@@ -64,6 +67,12 @@ class Zipr_t
virtual Zipr_SDK::RangeAddress_t PlopInstruction(libIRDB::Instruction_t* insn, Zipr_SDK::RangeAddress_t addr) = 0;
virtual Zipr_SDK::RangeAddress_t PlopWithTarget(libIRDB::Instruction_t* insn, Zipr_SDK::RangeAddress_t at) = 0;
virtual Zipr_SDK::RangeAddress_t PlopWithCallback(libIRDB::Instruction_t* insn, Zipr_SDK::RangeAddress_t at) = 0;
virtual Zipr_SDK::MemorySpace_t *GetMemorySpace()=0;
virtual ELFIO::elfio *GetELFIO()=0;
virtual libIRDB::FileIR_t *GetFileIR()=0;
virtual Zipr_SDK::InstructionLocationMap_t *GetLocationMap()=0;
};
};
#endif
......@@ -3,6 +3,8 @@ namespace Zipr_SDK
{
typedef std::map<libIRDB::Instruction_t*,Zipr_SDK::RangeAddress_t> InstructionLocationMap_t;
class Zipr_t;
class ZiprPluginInterface_t
{
public:
......
......@@ -48,9 +48,13 @@
// SDK internals
#include <range.h>
#include <zipr.h>
#include <memory_space.h>
#include <zipr_options.h>
#include <zipr_plugin.h>
#include <zipr.h>
extern "C"
Zipr_SDK::ZiprPluginInterface_t* GetPluginInterface(Zipr_SDK::Zipr_t* zipr_main_object);
#endif
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