LIBHOOKER_ERR

enum LIBHOOKER_ERR {}

Raw libhooker error values (use LHStrError to convert to a human readable string)

  • No errors took place

    Declaration

    Objective-C

    LIBHOOKER_OK = 0
  • An Objective-C selector was not found. (This error is from libblackjack)

    Declaration

    Objective-C

    LIBHOOKER_ERR_SELECTOR_NOT_FOUND = 1
  • A function was too short to hook

    Declaration

    Objective-C

    LIBHOOKER_ERR_SHORT_FUNC = 2
  • A problematic instruction was found at the start. We can’t preserve the original function due to this instruction getting clobbered.

    Declaration

    Objective-C

    LIBHOOKER_ERR_BAD_INSN_AT_START = 3
  • An error took place while handling memory pages

    Declaration

    Objective-C

    LIBHOOKER_ERR_VM = 4
  • No symbol was specified for hooking

    Declaration

    Objective-C

    LIBHOOKER_ERR_NO_SYMBOL = 5