Re: AddressSanitizer: attempting free on address which was not malloc()-ed

2017-07-12 Thread Maxim Ostapenko
Hm, looks pretty the same to https://github.com/google/sanitizers/issues/830. Could you provide more details how to reproduce the issue? Hello, > I'm running the gcc 6.3.0 version with opensource code in ubuntu 16.04 LTS. > When I run my code, I am getting error. > > > ==5094==ERROR:

Re: How to enable GCC Asan dynamic shadow address?

2017-06-02 Thread Maxim Ostapenko
Hi, On 01/06/17 13:51, steven shi wrote: Clang does works, at least for X64, and I have depended on it to enable the LLVM Asan in my Uefi firmware. I can see the related patch is here: https://reviews.llvm.org/D23354. Although this patch say it is for Windows 64bits, but I think this patch

Re: How to enable GCC Asan dynamic shadow address?

2017-06-01 Thread Maxim Ostapenko
Hi, четверг, 1 июня 2017 г., 14:27:16 UTC+3 пользователь Yuri Gribov написал: > > On Thu, Jun 1, 2017 at 11:51 AM, steven shi > wrote: > > Clang does works, at least for X64, and I have depended on it to enable > the > > LLVM Asan in my Uefi firmware. I can see the

Re: ASN for MIPS with either clang or gcc

2016-12-14 Thread Maxim Ostapenko
Kit <keiteep...@gmail.com>: > >> Ah, sorry for that since I have missed that. Will give it try and update >> you on that. >> >> Many thanks, >> Kit >> https://kitpark.slack.com/ >> -- >> Sorry for a terse reply or typo as sent from a mobile. &

Re: Proposal to add support for structure inner elements in Asan

2016-12-01 Thread Maxim Ostapenko
пятница, 2 декабря 2016 г., 8:22:55 UTC+3 пользователь Yuri Gribov написал: > > On Fri, Dec 2, 2016 at 6:35 AM, Maxim Ostapenko <chef...@gmail.com > > wrote: > > Hi, > > > > 02 Дек 2016 г. 7:30 пользователь "steven shi" <shiju...@

Re: Proposal to add support for structure inner elements in Asan

2016-12-01 Thread Maxim Ostapenko
Hi, 02 Дек 2016 г. 7:30 пользователь "steven shi" написал: > > Hello, > With the experts' help in this community, I've enabled the Asan for global and stack buffer in my bare-mental platform firmware, thanks a lot. > But I find the current Asan doesn't support to protect

Re: ASN for MIPS with either clang or gcc

2016-11-28 Thread Maxim Ostapenko
*-fstack-protector *as a workaround. > > Anything I have missed here? > Kit > > > Many thanks, > Kit > https://kitpark.slack.com/ > -- > Sorry for a terse reply or typo as sent from a mobile. > > 2016-11-28 14:10 GMT+00:00 Maxim Ostapenko <chefm...@gmail.c

Re: ASN for MIPS with either clang or gcc

2016-11-25 Thread Maxim Ostapenko
ke -j4'. > Many thanks > Kit > > > Many thanks, > Kit > https://kitpark.slack.com/ > -- > Sorry for a terse reply or typo as sent from a mobile. > > 2016-11-25 16:32 GMT+00:00 Maxim Ostapenko <chefm...@gmail.com>: >> >> >> 25 Ноя 2016 г

Re: ASN for MIPS with either clang or gcc

2016-11-25 Thread Maxim Ostapenko
rk.slack.com/ > -- > Sorry for a terse reply or typo as sent from a mobile. > > 2016-11-24 7:59 GMT+00:00 Maxim Ostapenko <chefm...@gmail.com>: >> >> Hi, >> >> вторник, 22 ноября 2016 г., 17:48:21 UTC+3 пользователь Park Kit написал: >>> >&

Re: ASN for MIPS with either clang or gcc

2016-11-24 Thread Maxim Ostapenko
Hi, вторник, 22 ноября 2016 г., 17:48:21 UTC+3 пользователь Park Kit написал: > > Hi Sagar, Maxim, > > Appreciated for your try and comments. > > @Sagar, your steps are bit different from what I followed so will give it > a try to build. This confirms at least ASAN works for cross-compile on

Re: ASN for MIPS with either clang or gcc

2016-11-15 Thread Maxim Ostapenko
Hi, среда, 16 ноября 2016 г., 10:43:06 UTC+3 пользователь Park Kit написал: > > Hi Sagar, > > Many thanks for a reply. Although I am seeking to have GCC cross compile > working, it would be great to know that ASAN builds for mips on clang. > AFAIK current GCC doesn't support MIPS, but IMHO it

ASan on OS X 10.11+

2016-11-09 Thread Maxim Ostapenko
Hi, I've recently merged relatively fresh sanitizer library from LLVM to GCC and faced quite strange build failure on darwin16 (OX 10.12.1). Corresponding bug in GCC bugzilla is here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78267 As I noted in bugzilla, the error

Re: custom allocator and leak sanitizer

2016-10-11 Thread Maxim Ostapenko
Forgot to add Ming to reply. 11 Окт 2016 г. 22:35 пользователь "Maxim Ostapenko" <chefm...@gmail.com> написал: > > Hi, > > 11 Окт 2016 г. 21:12 пользователь "Ming Zhao" <mz...@luminatewireless.com> написал: > > > > Hi, > > > &

Re: glibc, asan and libfuzzer

2016-02-19 Thread Maxim Ostapenko
Oh,I mean CVE-2015-7547 of course. -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to address-sanitizer+unsubscr...@googlegroups.com. For more options, visit

Re: glibc, asan and libfuzzer

2016-02-19 Thread Maxim Ostapenko
Alloca instrumentation is really cool :) пятница, 19 февраля 2016 г., 21:31:46 UTC+3 пользователь Maxim Ostapenko написал: > > FYI, this bug can be found by patched AddressSanitizer: >> > > ==18133==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address >

Re: glibc, asan and libfuzzer

2016-02-19 Thread Maxim Ostapenko
> > FYI, this bug can be found by patched AddressSanitizer: > ==18133==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address 0x7ffc15acc820 at pc 0x0048fea6 bp 0x7ffc15aca950 sp 0x7ffc15aca0f0 info: UDP server 1: sending response: 2076 bytes, RCODE 0 (for www123.example/1/28)