Project

General

Profile

Bug #3450

elfdump crashes on non-Solaris/Linux objects

Added by Rich Lowe almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2013-01-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

An object not from Solaris or Linux won't be inspected for possible version sections. Because the version information is only initialized if we expect to inspect a section but is referred to in general, we'll then crash in init_symtbl_state loading versym->cache.

We need to initialize the version stuff correctly, always.

#1

Updated by Rich Lowe almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 80 to 100

Resolved in 8a8ef76

Also available in: Atom PDF