You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the 4-byte padding to the next note is not considered.
The first descsz bytes in desc hold the note descriptor. If no descriptor is present, descsz contains the value zero. Padding is present, if necessary, to ensure 4-byte alignment for the next note entry. Such padding is not included in descsz.
descsz also needs to be 4 byte padded same as name.
https://docs.oracle.com/cd/E23824_01/html/819-0690/chapter6-18048.html
Thats done correctly here with NameSize:
SharpDebug/Source/SharpDebug.DwarfSymbolProvider/ElfCoreDump.cs
Line 106 in 0a19533
But the 4-byte padding to the next note is not considered.
descsz also needs to be 4 byte padded same as name.
Ghetto fix
SharpDebug/Source/SharpDebug.DwarfSymbolProvider/ElfCoreDump.cs
Lines 115 to 117 in 0a19533
Will make a pull request someday when I get the time for it
The text was updated successfully, but these errors were encountered: