Man page - libr_status(3)

Packages contas this manual

Manual

libr_status(3) Library Functions Manual libr_status(3)

libr_status - libr_status


- Enumeration of possible libr status values.

#include <libr.h>


enum libr_status { LIBR_OK = 0, LIBR_ERROR_GETEHDR = -1, LIBR_ERROR_NOTABLE = -2, LIBR_ERROR_TABLE = -3, LIBR_ERROR_GETDATA = -4, LIBR_ERROR_GETSHDR = -5, LIBR_ERROR_SIZEMISMATCH = -6, LIBR_ERROR_UPDATE = -7, LIBR_ERROR_NEWSECTION = -8, LIBR_ERROR_NEWDATA = -9, LIBR_ERROR_REMOVESECTION = -10, LIBR_ERROR_NOSECTION = -11, LIBR_ERROR_STRPTR = -12, LIBR_ERROR_NOTRESOURCE = -13, LIBR_ERROR_EXPANDSECTION = -14, LIBR_ERROR_WRONGFORMAT = -15, LIBR_ERROR_SETFLAGS = -16, LIBR_ERROR_NOPERM = -17, LIBR_ERROR_NOSIZE = -18, LIBR_ERROR_SETFORMAT = -19, LIBR_ERROR_SETARCH = -20, LIBR_ERROR_OVERWRITE = -21, LIBR_ERROR_COMPRESS = -22, LIBR_ERROR_INVALIDTYPE = -23, LIBR_ERROR_MEMALLOC = -24, LIBR_ERROR_INVALIDPARAMS = -25, LIBR_ERROR_UNCOMPRESS = -26, LIBR_ERROR_ZLIBINIT = -27, LIBR_ERROR_OPENFAILED = -28, LIBR_ERROR_BEGINFAILED = -29, LIBR_ERROR_WRITEPERM = -30, LIBR_ERROR_UNSUPPORTED = -31 }

Enumeration of possible libr status values.

#include <libr.h>

Possible libr status values

Enumerator

Success
Failed to obtain ELF header:
No ELF string table
Failed to open string table:
Failed to obtain data of section
Failed to obtain ELF section header:
Section's data size does not make sense
Failed to perform dynamic update:
Failed to create new section
Failed to create data for section
Failed to remove section:
ELF resource section not found
Failed to obtain section string pointer:
Not a valid libr-resource
Failed to expand section
Invalid input file format
Failed to set flags for section
Open handle with LIBR_READ_WRITE access
Failed to obtain file size
Failed to set output file format to input file format
Failed to set output file architecture to input file architecture
Section already exists, over-write not specified
Failed to compress resource data
Invalid data storage type specified
Failed to allocate memory for data
Invalid parameters passed to function
Failed to uncompress resource data
zlib library initialization failed
Failed to open input file
Failed to open ELF file:
No write permission for file
The requested operation is not supported by the backend

Generated automatically by Doxygen for libr from the source code.

libr