mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-02 03:05:40 +00:00
CentOS forward decl RBin (#17224)
* Try to fix double declaration issue in centos * On CentOS we just check unit tests
This commit is contained in:
parent
5454239cae
commit
9b43e2d70f
2
.github/workflows/centos6.yml
vendored
2
.github/workflows/centos6.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
run: make install
|
||||
working-directory: radare2
|
||||
- name: Run tests
|
||||
run: cd test/unit && make && make fuzz-tests
|
||||
run: cd test/unit && make
|
||||
working-directory: radare2
|
||||
env:
|
||||
# `make install` installs, for some unknown reasons, pkgconfig files in
|
||||
|
@ -6,6 +6,9 @@
|
||||
#include <r_io.h>
|
||||
#include <r_cons.h>
|
||||
#include <r_list.h>
|
||||
|
||||
typedef struct r_bin_t RBin;
|
||||
|
||||
#include <r_bin_dwarf.h>
|
||||
#include <r_pdb.h>
|
||||
|
||||
@ -302,7 +305,7 @@ typedef struct r_bin_file_options_t {
|
||||
// const char *xtrname;
|
||||
} RBinFileOptions;
|
||||
|
||||
typedef struct r_bin_t {
|
||||
struct r_bin_t {
|
||||
const char *file;
|
||||
RBinFile *cur; // TODO: deprecate
|
||||
int narch;
|
||||
@ -338,7 +341,7 @@ typedef struct r_bin_t {
|
||||
bool use_xtr; // use extract plugins when loading a file?
|
||||
bool use_ldr; // use loader plugins when loading a file?
|
||||
RStrConstPool constpool;
|
||||
} RBin;
|
||||
};
|
||||
|
||||
typedef struct r_bin_xtr_metadata_t {
|
||||
char *arch;
|
||||
|
@ -799,8 +799,6 @@ typedef struct {
|
||||
|
||||
#define r_bin_dwarf_line_new(o,a,f,l) o->address=a, o->file = strdup (f?f:""), o->line = l, o->column =0,o
|
||||
|
||||
typedef struct r_bin_t RBin; // forward declaration so I can keep the functions in this interface
|
||||
|
||||
R_API RBinDwarfDebugAbbrev *r_bin_dwarf_parse_abbrev(RBin *a, int mode);
|
||||
R_API RList *r_bin_dwarf_parse_aranges(RBin *a, int mode);
|
||||
R_API RBinDwarfDebugInfo *r_bin_dwarf_parse_info(RBinDwarfDebugAbbrev *da, RBin *a, int mode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user