Skip to content

exc

Exceptions for quokka.

All exceptions must derive from the QuokkaError.

CapstoneError

Bases: QuokkaError

Exceptions used for Capstone integration

Source code in quokka/exc.py
45
46
class CapstoneError(QuokkaError):
    """Exceptions used for Capstone integration"""

ChunkMissingError

Bases: QuokkaError

Raised when a chunk has not been found

Source code in quokka/exc.py
29
30
class ChunkMissingError(QuokkaError):
    """Raised when a chunk has not been found"""

FunctionMissingError

Bases: QuokkaError

Raised when a function has not been found

Source code in quokka/exc.py
33
34
class FunctionMissingError(QuokkaError):
    """Raised when a function has not been found"""

InstructionError

Bases: QuokkaError

Raised when serious errors in Instructions handling

Source code in quokka/exc.py
41
42
class InstructionError(QuokkaError):
    """Raised when serious errors in Instructions handling"""

NotInFileError

Bases: QuokkaError

Raised when trying to read a string outside the file

Source code in quokka/exc.py
25
26
class NotInFileError(QuokkaError):
    """Raised when trying to read a string outside the file"""

PypcodeError

Bases: QuokkaError

Main exception for pypcode integration

Source code in quokka/exc.py
49
50
class PypcodeError(QuokkaError):
    """Main exception for pypcode integration"""

QuokkaError

Bases: Exception

Base exception in Quokka

Source code in quokka/exc.py
21
22
class QuokkaError(Exception):
    """Base exception in Quokka"""

ThunkMissingError

Bases: QuokkaError

Raised when a thunk has not been found

Source code in quokka/exc.py
37
38
class ThunkMissingError(QuokkaError):
    """Raised when a thunk has not been found"""