Important bugfix: passing the instruction cache entry pointer
does not account for arrays of instructions provided by one virtual instruction trace cache entry -> passing the current instruction directly. ALUInstr not yet completely tested. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1704 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -20,13 +20,13 @@ private:
|
||||
unsigned char *udis_instr; //<! the instruction buffer for UDIs86
|
||||
size_t udis_instr_size; //<! the size of the instruction buffer
|
||||
public:
|
||||
Udis86(const unsigned char *instr, size_t size, fail::address_t ip);
|
||||
Udis86(unsigned char const *instr, size_t size, fail::address_t ip);
|
||||
~Udis86();
|
||||
/**
|
||||
* retrieves the private ud structure of udis86
|
||||
* @returns a reference pointer to a ud_t variable
|
||||
*/
|
||||
inline const ud_t &getCurrentState() const { return ud_obj; }
|
||||
inline ud_t const &getCurrentState() const { return ud_obj; }
|
||||
/**
|
||||
* Tries to decode the next instruction from the given buffer.
|
||||
* @returns \c true if a new instruction could be retrieved, \c false if the object has expired
|
||||
|
||||
Reference in New Issue
Block a user