decompiler  1.0.0
Public Member Functions | Public Attributes | List of all members
ghidra::UnimplError Struct Reference

Exception for encountering unimplemented pcode. More...

#include <translate.hh>

Inheritance diagram for ghidra::UnimplError:
ghidra::LowlevelError

Public Member Functions

 UnimplError (const string &s, int4 l)
 Constructor. More...
 
- Public Member Functions inherited from ghidra::LowlevelError
 LowlevelError (const string &s)
 Initialize the error with an explanatory string.
 

Public Attributes

int4 instruction_length
 
- Public Attributes inherited from ghidra::LowlevelError
string explain
 

Detailed Description

Exception for encountering unimplemented pcode.

This error is thrown when a particular machine instruction cannot be translated into pcode. This particular error means that the particular instruction being decoded was valid, but the system doesn't know how to represent it in pcode.

Constructor & Destructor Documentation

◆ UnimplError()

ghidra::UnimplError::UnimplError ( const string &  s,
int4  l 
)
inline

Constructor.

Parameters
sis a more verbose description of the error
lis the length (in bytes) of the unimplemented instruction

Member Data Documentation

◆ instruction_length

int4 ghidra::UnimplError::instruction_length

Number of bytes in the unimplemented instruction

Referenced by ghidra::Sleigh::oneInstruction(), and ghidra::FlowInfo::processInstruction().


The documentation for this struct was generated from the following file: