retdec
Public Member Functions | List of all members
retdec::unpackertool::upx::InvalidBlockException Class Reference

#include <upx_exceptions.h>

Inheritance diagram for retdec::unpackertool::upx::InvalidBlockException:
Inheritance graph
[legend]
Collaboration diagram for retdec::unpackertool::upx::InvalidBlockException:
Collaboration graph
[legend]

Public Member Functions

 InvalidBlockException ()
 
- Public Member Functions inherited from retdec::unpacker::FatalException
template<typename... Args>
 FatalException (const Args &... args)
 
- Public Member Functions inherited from retdec::unpacker::UnpackerException
 UnpackerException (const UnpackerException &ex)
 
virtual const char * what () const noexcept override
 
const std::string & getMessage () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from retdec::unpacker::UnpackerException
template<typename... Args>
 UnpackerException (const Args &... args)
 

Detailed Description

Used in ELF unpacking. Thrown when invalid packed block is found. There may be many reasons why block is invalid. Packed data size may be greater than unpacked data size, packed data size may read beyond file bounds, there may be less data available than packed data size reports etc.

This exception is fatal error during unpacking.

Constructor & Destructor Documentation

◆ InvalidBlockException()

retdec::unpackertool::upx::InvalidBlockException::InvalidBlockException ( )
inline

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