Skip to content

Commit e6969cb

Browse files
committed
Added function info getter to the binary file abstraction structure
1 parent e9c9e15 commit e6969cb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/parser/file/binaryFile.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <stdbool.h>
2626

2727
#include <callstack_frame.h>
28+
#include <functionInfo/functionInfo.h>
2829

2930
#include "dwarf/dwarf_lineInfo.h"
3031

@@ -69,10 +70,11 @@ struct binaryFile {
6970
* Returns whether the address could be translated.
7071
*/
7172
bool (*addr2String)(struct binaryFile*, void*, struct callstack_frame*);
73+
bool (*getFunctionInfo)(struct binaryFile*, const char*, struct functionInfo*);
7274
/** The appropriate deinitializing method. */
73-
void (*destroy) (struct binaryFile *);
75+
void (*destroy)(struct binaryFile*);
7476
/** The appropriate deleting method. */
75-
void (*deleter) (struct binaryFile *);
77+
void (*deleter)(struct binaryFile*);
7678
};
7779

7880
/**

0 commit comments

Comments
 (0)