decompiler
1.0.0
|
Abstract class for converting native constants to addresses. More...
#include <translate.hh>
Public Member Functions | |
virtual Address | resolve (uintb val, int4 sz, const Address &point)=0 |
More... | |
Abstract class for converting native constants to addresses.
This class is used if there is a special calculation to get from a constant embedded in the code being analyzed to the actual Address being referred to. This is used especially in the case of a segmented architecture, where "near" pointers must be extended to a full address with implied segment information.
Virtual destructor
The main resolver method.
Given a native constant in a specific context, resolve what address is being referred to.
val | is constant to be resolved to an address |
sz | is the size of val in context. |
point | is the address at which this constant is being used |
Implemented in SegmentedResolver.
Referenced by AddrSpaceManager::resolveConstant().