UBsan working

suyash singh suyashsingh234 at gmail.com
Sun Apr 5 16:58:03 UTC 2020


1) Build clang and UBSan with RSB
2) Build the supported BSPs with clang so that scan-build and UBSan work

I built rv32iac_clang with scan-build

[image: image.png]

scan-build seems to work for it.

But the make is failing for some reason

On Sun, Apr 5, 2020 at 8:23 PM Gedare Bloom <gedare at rtems.org> wrote:

> Hi Suyash,
>
> This is fine, but what is really needed is to know if/how they might work
> on RTEMS.
>
> Gedare
>
> On Sun, Apr 5, 2020 at 2:05 AM suyash singh <suyashsingh234 at gmail.com>
> wrote:
>
>> Undefined behavior sanitizer
>> [image: image.png]
>>
>> clang's documentation is incomplete on llvm sanitizers. Also clang
>> installs the ubsan files at wrong locations. There is no solution on
>> google, so I wrote my own
>>
>>  I have written the steps for installation here
>>
>> https://github.com/suyashsingh234/rtems-notes/blob/master/README.md
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200405/990235cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 100758 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200405/990235cf/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 127231 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200405/990235cf/attachment-0003.png>


More information about the devel mailing list