diff --git a/include/zipr.h b/include/zipr.h index d4199db34e5b2511e3cd4c0c82a952756be75b85..1ec2fa4da22cb6ccb5c6157688f7a89a2f25d990 100644 --- a/include/zipr.h +++ b/include/zipr.h @@ -48,31 +48,34 @@ class Zipr_t /* * These are public functions that the SDK user way want to use. */ - virtual size_t DetermineDollopEntrySize(DollopEntry_t*, bool account_for_fallthrough) = 0; + virtual size_t DetermineDollopEntrySize( + DollopEntry_t*, + bool account_for_fallthrough) = 0; - virtual Zipr_SDK::RangeAddress_t PlopDollopEntry( - DollopEntry_t *, - RangeAddress_t = 0, - RangeAddress_t = 0) - = 0; + virtual RangeAddress_t PlopDollopEntry( + DollopEntry_t *, + RangeAddress_t = 0, + RangeAddress_t = 0) = 0; - virtual Zipr_SDK::RangeAddress_t PlopDollopEntryWithTarget( - DollopEntry_t *, - RangeAddress_t = 0, - RangeAddress_t = 0) - = 0; + virtual RangeAddress_t PlopDollopEntryWithTarget( + DollopEntry_t *, + RangeAddress_t = 0, + RangeAddress_t = 0) = 0; - virtual Zipr_SDK::RangeAddress_t PlopDollopEntryWithCallback( - DollopEntry_t *, - RangeAddress_t = 0) - = 0; + virtual RangeAddress_t PlopDollopEntryWithCallback( + DollopEntry_t *, + RangeAddress_t = 0) = 0; - virtual Zipr_SDK::MemorySpace_t *GetMemorySpace()=0; + virtual MemorySpace_t *GetMemorySpace()=0; virtual ELFIO::elfio *GetELFIO()=0; virtual libIRDB::FileIR_t *GetFileIR()=0; - virtual Zipr_SDK::InstructionLocationMap_t *GetLocationMap()=0; - virtual Zipr_SDK::DollopManager_t *GetDollopManager()=0; - virtual Zipr_SDK::PlacementQueue_t* GetPlacementQueue()=0; + virtual InstructionLocationMap_t *GetLocationMap()=0; + virtual DollopManager_t *GetDollopManager()=0; + virtual PlacementQueue_t* GetPlacementQueue()=0; + virtual void ApplyPatch( + RangeAddress_t from_addr, + RangeAddress_t to_addr)=0; + }; };