Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: binflow
binflow: main.o elf.o maps.o trace.o util.o disas.o
gcc -g main.o elf.o maps.o trace.o util.o disas.o capstone/libcapstone.a -o binflow
gcc -g main.o elf.o maps.o trace.o util.o disas.o capstone-2.1.2/libcapstone.a -o binflow
main.o:
gcc -g -c main.c
elf.o:
Expand Down
5 changes: 2 additions & 3 deletions binflow.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

#define DEFAULT_COLOR "\x1B[0m"

#define MAX_SYMS 8192 * 2

/*
* On 32bit systems should be set:
Expand Down Expand Up @@ -191,8 +190,8 @@ typedef struct handle {
elfdesc_t elf;
branch_site_t branch_site[MAX_BRANCHES]; // XXX change to linked list
struct elf_section_range sh_range[MAX_SHDRS];
struct syms lsyms[MAX_SYMS];
struct syms dsyms[MAX_SYMS]; //dynamic syms
struct syms *lsyms;
struct syms *dsyms; //dynamic syms
char *libnames[256];
int lsc; //lsyms count
int dsc; // dsyms count
Expand Down
Loading