[Development] New property system

Fabian Kosmale fabian.kosmale at qt.io
Thu Oct 1 22:16:49 CEST 2020


Hi Robert,

with gcc's UBSAN there are no reported issues when running tst_qproperty. This doesn't come as a surprise, considering that we do obtain a pointer whose value corresponds with that of a valid pointer to the object. I guess technically we still might need to std::launder it, but I leave determining that detail to Ville, and it shouldn't matter in practice anwyay.

Regards,
Fabian

--
Fabian Kosmale
Software Engineer

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin
fabian.kosmale at qt.io
+49 1638686070
http://qt.io


Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

--

________________________________________
Von: Development <development-bounces at qt-project.org> im Auftrag von Robert Löhning <robert.loehning at qt.io>
Gesendet: Donnerstag, 1. Oktober 2020 21:15
An: development at qt-project.org
Betreff: Re: [Development] New property system

Am 26.08.20 um 09:18 schrieb Lars Knoll:
> (...)
> This is the one place where we rely on a non standard (but supported by all our compilers) feature. Namely the ability to call offsetof() on non-standard types.

Hi Lars,

how will undefined behavior sanitizers (UBSAN) react to this?

Cheers,
Robert
_______________________________________________
Development mailing list
Development at qt-project.org
https://lists.qt-project.org/listinfo/development


More information about the Development mailing list