yast2-core
Functions | Variables
elf-arch.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <elf.h>
#include <endian.h>
#include <byteswap.h>

Functions

uint16_t get_uint16 (uint16_t)
 
char * machine_name (void)
 
int read_header (char *)
 
int main (int argc, char **argv)
 

Variables

unsigned char e_ident [EI_NIDENT]
 
uint16_t e_class
 
uint16_t e_data
 
uint16_t e_machine
 

Function Documentation

uint16_t get_uint16 ( uint16_t  i)

References e_data.

Referenced by read_header().

char * machine_name ( void  )

References e_class, and e_machine.

Referenced by main().

int main ( int  argc,
char **  argv 
)

References machine_name(), and read_header().

int read_header ( char *  filename)

References e_class, e_data, e_ident, e_machine, and get_uint16().

Referenced by main().

Variable Documentation

uint16_t e_class

Referenced by machine_name(), and read_header().

uint16_t e_data

Referenced by get_uint16(), and read_header().

unsigned char e_ident[EI_NIDENT]

Referenced by read_header().

uint16_t e_machine

Referenced by machine_name(), and read_header().


Generated on a sunny day for yast2-core by doxygen 1.8.5