Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fileinfo: load additional info from PT_NOTE segment #244

Closed
mbandzi opened this issue Mar 6, 2018 · 3 comments
Closed

Fileinfo: load additional info from PT_NOTE segment #244

mbandzi opened this issue Mar 6, 2018 · 3 comments

Comments

@mbandzi
Copy link
Contributor

mbandzi commented Mar 6, 2018

Besides information for core dumps (#142), ELF note section contains other types of useful information.

e. g. output from readelf -n:

Displaying notes found at file offset 0x00000254 with length 0x00000020:
  Owner                 Data size	Description
  GNU                  0x00000010	NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 2.6.32

while fileinfo -v can't tell neither:

OS/ABI            : No extensions or unspecified
OS/ABI version    : 0

There is probably much more information, that can be retrieved.

@mbandzi
Copy link
Contributor Author

mbandzi commented Mar 7, 2018

possible ELF linker detection for cpdetect from NT_GNU_GOLD_VERSION.

@mbandzi mbandzi self-assigned this Mar 8, 2018
@mbandzi
Copy link
Contributor Author

mbandzi commented Mar 8, 2018

HP compiler (NT_HP_COMPILER) and linker (NT_HP_LINKER) detection.
Android OS/ABI from ABI_NOTETYPE.

@mbandzi
Copy link
Contributor Author

mbandzi commented May 10, 2018

Added in d55b541c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant