RFR: JDK-8298448: UndefinedBehaviorSanitizer [v2]

Justin King jcking at openjdk.org
Mon Dec 12 07:02:05 UTC 2022


On Mon, 12 Dec 2022 06:48:25 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Justin King has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove UBSAN_ENABLED From spec.gmk.in
>
> src/java.base/share/native/launcher/main.c line 38:
> 
>> 36: 
>> 37: #ifdef UNDEFINED_BEHAVIOR_SANITIZER
>> 38: // Override weak symbol exposed by UBSan to override default options. This is called by UBSan
> 
> Please explain why we need to override the default options.

Done. Also added a comment regarding the environment variable UBSAN_OPTIONS.

-------------

PR: https://git.openjdk.org/jdk/pull/11604


More information about the core-libs-dev mailing list