mirror of https://github.com/0intro/libelf
export elfmachine function
This commit is contained in:
parent
c5f6f3db4a
commit
b609396e38
|
@ -67,6 +67,7 @@ int readelf(FILE *f, Fhdr *fp);
|
||||||
uint8_t* readelfsection(FILE *f, char *name, uint64_t *size, Fhdr *fp);
|
uint8_t* readelfsection(FILE *f, char *name, uint64_t *size, Fhdr *fp);
|
||||||
void freeelf(Fhdr *fp);
|
void freeelf(Fhdr *fp);
|
||||||
char* elftype(uint16_t type);
|
char* elftype(uint16_t type);
|
||||||
|
char* elfmachine(uint16_t machine);
|
||||||
```
|
```
|
||||||
|
|
||||||
Example
|
Example
|
||||||
|
|
Loading…
Reference in New Issue