On Sat, Apr 11, 2009 at 6:24 PM, Yoshinori K. Okuji <ok...@enbug.org> wrote:
> On Saturday 11 April 2009 18:29:00 Bean wrote:
>> Hi,
>>
>> When symbol name is 8 or less, pe store it as short name, which is not
>> necessary null-terminated.
>
> Oh, I didn't know that. Where is it documented?

Hi,

Recently, I found some wired symbol not found error in modules
generated by mingw. After examining the binary image, it seems that PE
would use short name even for symbol whose length is 8, therefore no
null character at the end. grub-pe2elf assume the name is
null-terminated, which could result in extra characters in the
symbols.

-- 
Bean


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to