Skip to content

Commit 6159828

Browse files
committed
Documented the new ELF file function
1 parent 811c8dc commit 6159828

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: src/parser/file/elf/elfFile.h

+8
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ static inline struct elfFile* elfFileOrNull(struct binaryFile * self) {
9292
*/
9393
bool elfFile_addr2String(struct binaryFile* self, void* address, struct callstack_frame* frame);
9494

95+
/**
96+
* Loads the function information for the function of the given name.
97+
*
98+
* @param self the ELF file abstraction structure to search in
99+
* @param functionName the name of the function to load the information
100+
* @param info the @c functionInfo structure to fill in
101+
* @return whether the function was found
102+
*/
95103
bool elfFile_getFunctionInfo(struct elfFile* self, const char* functionName, struct functionInfo* info);
96104

97105
/**

0 commit comments

Comments
 (0)