|
Interface for architecture information. More...
Public Member Functions | |
virtual coffi_architecture_t | get_architecture () const =0 |
Returns the coffi object architecture. More... | |
virtual int | get_addressable_unit () const =0 |
Returns the character type size in bytes. More... | |
Interface for architecture information.
This interface is implemented by the coffi class.
Definition at line 1062 of file coffi_types.hpp.
|
pure virtual |
Returns the character type size in bytes.
Auto-detects the addressable unit: are the addresses in bytes or 2-bytes words?
Some targets have 2-bytes characters, this changes how offsets are computed in the file.
Implemented in coffi.
|
pure virtual |
Returns the coffi object architecture.
Implemented in coffi.