Re: Report UBSan integer overflow bugs found by automatic tools

2021-07-30 Thread He Jingxuan
Thanks for your prompt feedback! > On 30 Jul 2021, at 08:08, Alan Modra wrote: > > On Thu, Jul 29, 2021 at 03:09:40PM +, He Jingxuan wrote: >> Dear Alan, >> >> Thanks for your information! >> >> UBSan indeed has an option to turn on complaints about unsigned integer >> overflow (-fsaniti

Re: Report UBSan integer overflow bugs found by automatic tools

2021-07-29 Thread Alan Modra
On Thu, Jul 29, 2021 at 03:09:40PM +, He Jingxuan wrote: > Dear Alan, > > Thanks for your information! > > UBSan indeed has an option to turn on complaints about unsigned integer > overflow (-fsanitize=unsigned-integer-overflow). Unsigned integer overflow > has caused bugs in binutils that

Re: Report UBSan integer overflow bugs found by automatic tools

2021-07-29 Thread He Jingxuan
Dear Alan, Thanks for your information! UBSan indeed has an option to turn on complaints about unsigned integer overflow (-fsanitize=unsigned-integer-overflow). Unsigned integer overflow has caused bugs in binutils that were fixed (see https://sourceware.org/bugzilla/show_bug.cgi?id=24131 for

Re: Report UBSan integer overflow bugs found by automatic tools

2021-07-29 Thread Alan Modra
On Thu, Jul 29, 2021 at 08:25:37AM +, He Jingxuan wrote: > Dear binutils developers, > > How is going with analyzing and fixing these bugs? Any feedback? See https://lists.gnu.org/archive/html/bug-binutils/2021-06/msg00149.html Your email was flagged as being malware and not delivered to any

Re: Report UBSan integer overflow bugs found by automatic tools

2021-07-29 Thread He Jingxuan
Dear binutils developers, How is going with analyzing and fixing these bugs? Any feedback? Best, Jingxuan On 30 Jun 2021, at 19:51, He Jingxuan mailto:jingxuan...@inf.ethz.ch>> wrote: Dear binutils developers, We tested objcopy and readelf with automatic tools (based on the symbolic executio