UFO: Alien Invasion
Loading...
Searching...
No Matches
bfd.h
Go to the documentation of this file.
1#ifdef HAVE_BFD_H
2
3#pragma once
4
5#ifndef PACKAGE
6#define PACKAGE 1
7#endif
8
9#ifndef PACKAGE_VERSION
10#define PACKAGE_VERSION 1
11#endif
12
13#include <bfd.h>
14
15struct output_buffer
16{
17 char * buf;
18 size_t sz;
19 size_t ptr;
20};
21
22struct bfd_ctx
23{
24 bfd* handle;
25 asymbol** symbol;
26};
27
28struct bfd_set
29{
30 char* name;
31 struct bfd_ctx* bc;
32 struct bfd_set* next;
33};
34
35struct find_info
36{
37 asymbol** symbol;
38 bfd_vma counter;
39 const char* file;
40 const char* func;
41 unsigned line;
42};
43
44void output_init(struct output_buffer* ob, char* buf, size_t sz);
45void find(struct bfd_ctx* b, size_t offset, const char** file, const char** func, unsigned* line);
46struct bfd_ctx* get_bc(struct output_buffer* ob, struct bfd_set* set, const char* procname);
47void release_set(struct bfd_set* set);
48void output_print(struct output_buffer* ob, const char* format, ...);
49
50#endif
voidpf void * buf
Definition ioapi.h:42
voidpf uLong offset
Definition ioapi.h:45
void format(__printf__, 1, 2)))
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition r_gl.h:110