[padb] edb fixes

Duncan Thomas Duncan.Thomas at vega.co.uk
Tue Nov 9 17:42:54 GMT 2010


The version of edb in padb, which matches the one currently shipped by
Vega, doesn't work (specifically, queue extraction doesn't work since
the elf reading code can no longer find elan_base). 

The issue seems to be that libelan4.so no longer has a DT_HASH, so you
have to walk the symbol table in a linear manner. It was also running
into a DT_HASH it couldn't work with in an unnamed dynamic section. The
new code just skips unnamed sections since they never contain what we
want.

I'm not sure the new code is 100% correct, but it seems to work unlike
what was there before. Comments off people who understand elf structures
better very welcome.

These fixes should find their way into the next Vega release unless
problems with them are found.

 <<edb_fixes_2010_11_09.diff>> 

-- 
Duncan Thomas
HPC Consultant

VEGA Consulting Services Ltd
360 Bristol Business Park
Coldharbour Lane
Bristol BS16 1EJ
United Kingdom
Tel	: +44 (0)117 988 0033
Mob         : +44 (0)7968 111 883
Fax	: +44 (0)117 988 0034
Email	: Duncan.Thomas at vega.co.uk
Web	: www.vega.co.uk



Registered company details: VEGA Consulting Services Ltd, 2 Falcon Way,
Shire Park, Welwyn Garden City, AL7 1TW, Registered in England, Number -
1393778


Notice of Confidentiality

This transmission is intended for the named addressee only. It contains
information which may be confidential and which may also be privileged.
Unless you are the named addressee (or authorised to receive it for the
addressee) you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please notify the sender
immediately.
.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pittman.org.uk/pipermail/padb-devel_pittman.org.uk/attachments/20101109/ca433be7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edb_fixes_2010_11_09.diff
Type: application/octet-stream
Size: 8372 bytes
Desc: edb_fixes_2010_11_09.diff
URL: <http://pittman.org.uk/pipermail/padb-devel_pittman.org.uk/attachments/20101109/ca433be7/attachment.obj>


More information about the padb-devel mailing list