View Issue Details

IDProjectCategoryView StatusLast Update
0000182file[All Projects] Generalpublic2020-08-22 18:18
ReporterjpalusAssigned Tochristos 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.39 
Target VersionFixed in Version5.40 
Summary0000182: ELF shared object without dynamic section considered dynamically linked
DescriptionVirtualBox creates a shared object:

    $ readelf -h VBoxDDR0.debug|grep Type
      Type: DYN (Shared object file)

which lacks dynamic section and therefore does not have any linked libraries, nor has interpreter:

    $ readelf -d VBoxDDR0.debug
    
    There is no dynamic section in this file.

Yet file started to recognize it as dynamically linked:

    $ file VBoxDDR0.debug
    VBoxDDR0.debug: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=52d7486748cc2a8387793008f2fdbdb1761f65e3, stripped

I guess it is a result of:
https://github.com/file/file/commit/028a15617a7f2c9172e3ac2d903af0f03010c8b4

Perhaps it would be better to judge if object is "dynamically linked" based on dynamic section existence?
TagsNo tags attached.

Activities

christos

2020-08-22 18:18

manager   ~0003452

Fixed, thanks!

Issue History

Date Modified Username Field Change
2020-08-16 22:55 jpalus New Issue
2020-08-22 18:17 christos Assigned To => christos
2020-08-22 18:17 christos Status new => assigned
2020-08-22 18:18 christos Status assigned => resolved
2020-08-22 18:18 christos Resolution open => fixed
2020-08-22 18:18 christos Fixed in Version => 5.40
2020-08-22 18:18 christos Note Added: 0003452