retdec
Public Member Functions | Private Attributes | List of all members
retdec::capstone2llvmir::UnhandledInstructionError Class Reference

#include <exceptions.h>

Inheritance diagram for retdec::capstone2llvmir::UnhandledInstructionError:
Inheritance graph
[legend]
Collaboration diagram for retdec::capstone2llvmir::UnhandledInstructionError:
Collaboration graph
[legend]

Public Member Functions

 UnhandledInstructionError (cs_insn *i, const std::string &comment="")
 
virtual const char * what () const noexcept override
 
- Public Member Functions inherited from retdec::capstone2llvmir::BaseError
virtual ~BaseError ()=default
 

Private Attributes

cs_insn * _insn = nullptr
 
std::string _comment
 

Detailed Description

An exception class thrown when unhandled instruction is encountered.

These exceptions may be suppressed and/or ignored. Not all instructions are handled, or will be handled in the future.

Constructor & Destructor Documentation

◆ UnhandledInstructionError()

retdec::capstone2llvmir::UnhandledInstructionError::UnhandledInstructionError ( cs_insn *  i,
const std::string &  comment = "" 
)
Parameters
iCapstone instruction which is not handled.
commentOptional comment about the problem.

Member Function Documentation

◆ what()

const char * retdec::capstone2llvmir::UnhandledInstructionError::what ( ) const
overridevirtualnoexcept

Member Data Documentation

◆ _comment

std::string retdec::capstone2llvmir::UnhandledInstructionError::_comment
private

◆ _insn

cs_insn* retdec::capstone2llvmir::UnhandledInstructionError::_insn = nullptr
private

The documentation for this class was generated from the following files: