GCC Undefined Behavior Sanitizer

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 17 09:05:45 PDT 2014


On 17 October 2014 16:08, Andrei Alexandrescu via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On 10/17/14, 2:53 AM, Iain Buclaw via Digitalmars-d wrote:
>>
>> On 16 October 2014 22:00, bearophile via Digitalmars-d
>> <digitalmars-d at puremagic.com> wrote:
>>>
>>> Just found with Reddit. C seems one step ahead of D with this:
>>>
>>>
>>> http://developerblog.redhat.com/2014/10/16/gcc-undefined-behavior-sanitizer-ubsan/
>>>
>>
>>
>> *cough* GDC *cough*  :o)
>
>
> Do you mean ubsan will work with gdc? -- Andrei
>

It doesn't out of the box, but adding in front-end support is a small
codegen addition for each plugin you wish to support.

The rest is taken care of by GCC.

Iain.


More information about the Digitalmars-d mailing list