#include "op_abi.h"
#include "odb.h"
#include "op_sample_file.h"
#include <stdio.h>
#include <stddef.h>
#include <assert.h>
Go to the source code of this file.
Functions | |
struct op_abi_entry const * | get_abi (void) |
return array is terminated by a NULL entry in name field | |
int | op_little_endian (void) |
return non zero if the abi is little endian | |
int | op_write_abi_to_file (char const *abi_file) |
Variables | |
static struct op_abi_entry const | abi_entries [] |
This file contains a simple C interface to the ABI-describing functionality, the majority of which is implemented in C++. This is the file which is intended for use in files outside the /libabi directory.
Definition in file op_abi.c.
struct op_abi_entry const* get_abi | ( | void | ) | [read] |
return array is terminated by a NULL entry in name field
Definition at line 61 of file op_abi.c.
Referenced by abi::abi(), and op_write_abi_to_file().
int op_little_endian | ( | void | ) |
return non zero if the abi is little endian
Definition at line 67 of file op_abi.c.
Referenced by abi::abi(), and op_write_abi_to_file().
int op_write_abi_to_file | ( | char const * | abi_file | ) |
Write current abi to file. return 1 on success, 0 on failure
Definition at line 79 of file op_abi.c.
References get_abi(), op_abi_entry::name, op_abi_entry::offset, and op_little_endian().
Referenced by operf_read::convertPerfData(), and opd_write_abi().
struct op_abi_entry const abi_entries[] [static] |