diff --git a/include/zipr_plugin.h b/include/zipr_plugin.h index 5c849687adf5e8eb672e570d0e04b5ee8b4b73b0..537d712ebd9a38fb6c9fc4498f7858c9f595dc67 100644 --- a/include/zipr_plugin.h +++ b/include/zipr_plugin.h @@ -7,7 +7,6 @@ enum ZiprPreference { None, Must, }; -class Zipr_t; class ZiprPluginInterface_t { @@ -40,7 +39,8 @@ class ZiprPluginInterface_t { return false; } - virtual size_t WorstCaseInsnSize(libIRDB::Instruction_t*, bool, Zipr_t *) + + virtual size_t WorstCaseInsnSize(libIRDB::Instruction_t*, bool) { return 0; } @@ -53,11 +53,11 @@ class ZiprPluginInterface_t * should return the size of that padding in * these functions. */ - virtual size_t DollopEntryOpeningSize(DollopEntry_t*, Zipr_t *) + virtual size_t DollopEntryOpeningSize(DollopEntry_t*) { return 0; } - virtual size_t DollopEntryClosingSize(DollopEntry_t*, Zipr_t *) + virtual size_t DollopEntryClosingSize(DollopEntry_t*) { return 0; } @@ -97,8 +97,7 @@ class ZiprPluginInterface_t virtual RangeAddress_t PlopDollopEntry(Zipr_SDK::DollopEntry_t *entry, RangeAddress_t &instruction_address, size_t instruction_size, - bool &placed_instruction, - Zipr_t *zipr) + bool &placed_instruction) { return 0; }