Menu

#1 libindex incorrectly parses objdump output

open
nobody
None
5
2007-09-25
2007-09-25
Ted Merrill
No

In libraryopt-1.0.1/src/libindex function DynamicExpression() it expects a space character before the version; unfortunately that doesn't happen with current objdump (version 2.16.1).
I fixed this by making the space character optional (there is anyway a tab before that).
Was: version = ' +(?P<version>[^ ]*) +'
New: version = ' *(?P<version>[^ ]*) +'

Without this fix, libindex fails miserably to add symbols to the index.

-Ted Merrill

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.