bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/24538] GAS crashes caused by corrupted input files


From: mtest1 at testlt dot pl
Subject: [Bug gas/24538] GAS crashes caused by corrupted input files
Date: Tue, 14 May 2019 07:19:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24538

--- Comment #6 from mtest1 at testlt dot pl ---
(In reply to Nick Clifton from comment #4)
> Created attachment 11772 [details]
> Proposed patch
> 
> Hi mtest1,
> 
>   Ah - yes - I know why I could not reproduce this problem now ...  There is
>   a long standing problem with Fedora which makes it impossible to build
>   32-bit binaries with address sanitization enabled.  So my i386-elf
> toolchain
>   actually has 64-bit executables in it rather than 32-bit ones.
> 
>   Please could you try out the uploaded patch and let me know if it resolves
>   the problem ?  It may not work however as all it does is to (try to) stop 
>   the illegal memory access inside i386_intel_simplify_register().  It does
>   not address the underlying problem of why an illegal register number was
>   being used in the first place.
> 
> Cheers
>   Nick

Hello Nick,

 your patch fixed the problem:

$ ./as-i386
~/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c\:289/avx512f_vaes-wig.s_401709.out.min
 
/home/shm/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c:289/avx512f_vaes-wig.s_401709.out.min:
Assembler messages:
/home/shm/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c:289/avx512f_vaes-wig.s_401709.out.min:3:
Error: bignum invalid
/home/shm/tmp/result/ini386_intel_simplify_registerconfig_tc-i386-intel.c:289/avx512f_vaes-wig.s_401709.out.min:3:
Error: invalid register number

 May I ask you to let us know when you commit the patches?

 Best Regards!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]