oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.35k stars 747 forks source link

ELF analyzer needs some love (Bugzilla #19216) #557

Open vladak opened 11 years ago

vladak commented 11 years ago

status NEW severity major in component analyzer for --- Reported in version unspecified on platform ANY/Generic Assigned to: Trond Norbye

Original attachment names and IDs:

On 2012-06-07 12:43:45 +0000, Vladimir Kotal wrote:

There are significant users of the ELF analysis capabilities (e.g. for security vulnerability research). Unfortunately, its usefulness is quite limited.

I noticed the following problems:

  • full search returns the binaries which match but the highlighting is missing completely in the results (with source code search the symbol matching the search terms is highlighted in bold)
  • symbol names cannot be found using 'Definition' search
    • this should be possible using the Shndx as reported by nm(1) (number is definition, UNDEF is just reference to symbol in another library)
    • the Reference search should use this information so that we can search for references to symbols
  • clicking on the library name leads to unformatted text output

Screenshots which illustrate some of the above problems are attached.

On 2012-06-07 12:45:34 +0000, Vladimir Kotal wrote:

Created attachment 4663 screenshot illustrating some of the problems with ELF search

note the absence of bold emphasis of the text found in the binary

On 2012-06-07 12:46:57 +0000, Vladimir Kotal wrote:

Created attachment 4664 screenshot illustrating problem with displaying ELF files contents

note that lack of formatting, symbols and sections are mixed together and they should not be

vladak commented 11 years ago

4663 4664