export elfmachine function

This commit is contained in:
David du Colombier 2017-07-27 23:34:50 +02:00
parent c5f6f3db4a
commit b609396e38
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ int readelf(FILE *f, Fhdr *fp);
uint8_t* readelfsection(FILE *f, char *name, uint64_t *size, Fhdr *fp);
void freeelf(Fhdr *fp);
char* elftype(uint16_t type);
char* elfmachine(uint16_t machine);
```
Example

1
elf.h
View File

@ -51,3 +51,4 @@ int readelf(FILE*, Fhdr*);
uint8_t* readelfsection(FILE*, char*, uint64_t*, Fhdr*);
void freeelf(Fhdr*);
char* elftype(uint16_t);
char* elfmachine(uint16_t);