Use the annocheck program
You can use annocheck to examine files, directories, RPM packages, and extra tools.
annocheck recursively scans directories, archives, and RPM packages for ELF object files. The files have to be in the ELF format. annocheck does not handle any other binary file types.Use annocheck to examine files Copy linkLink copied!
To verify hardening options and build security notes of ELF files, examine the files by using the annocheck tool.
Procedure Copy linkLink copied!
$ annocheck file-name
Replace file-name with the name of a file.
The files must be in ELF format. annocheck does not handle any other binary file types. annocheck processes static libraries that contain ELF object files.
Use annocheck to examine directories Copy linkLink copied!
To examine ELF files in a directory, use the annocheck tool, which recursively scans directories, subdirectories, and archives.
Procedure Copy linkLink copied!
$ annocheck directory-name
Replace directory-name with the name of a directory. annocheck automatically examines the contents of the directory, its sub-directories, and any archives and RPM packages within the directory.
annocheck only looks for ELF files. Other file types are ignored.
Use annocheck to examine RPM packages Copy linkLink copied!
To examine ELF files in an RPM package, use the annocheck tool, which recursively scans all ELF files inside the package.