Atrinik Client 2.5
Defines | Enumerations
include/binreloc.h File Reference

Go to the source code of this file.

Enumerations

enum  BrInitError {
  BR_INIT_ERROR_NOMEM, BR_INIT_ERROR_OPEN_MAPS, BR_INIT_ERROR_READ_MAPS, BR_INIT_ERROR_INVALID_MAPS,
  BR_INIT_ERROR_DISABLED
}

Detailed Description

BinReloc - a library for creating relocatable executables Written by: Hongli Lai <h.lai@chello.nl> http://autopackage.org/

This source code is public domain. You can relicense this code under whatever license you want.

See http://autopackage.org/docs/binreloc/ for more information and how to use this.

Definition in file binreloc.h.


Enumeration Type Documentation

These error codes can be returned by br_init(), br_init_lib(), gbr_init() or gbr_init_lib().

Enumerator:
BR_INIT_ERROR_NOMEM 

Cannot allocate memory.

BR_INIT_ERROR_OPEN_MAPS 

Unable to open /proc/self/maps; see errno for details.

BR_INIT_ERROR_READ_MAPS 

Unable to read from /proc/self/maps; see errno for details.

BR_INIT_ERROR_INVALID_MAPS 

The file format of /proc/self/maps is invalid; kernel bug?

BR_INIT_ERROR_DISABLED 

BinReloc is disabled (the ENABLE_BINRELOC macro is not defined).

Definition at line 45 of file binreloc.h.