[Tarantool-patches] [PATCH 00/10] Sanitize unaligned access
Sergey Bronnikov
sergeyb at tarantool.org
Fri May 22 01:25:00 MSK 2020
Vladislav,
On 22:37 Thu 21 May , Vladislav Shpilevoy wrote:
> The patchset introduces a new cmake option ENABLE_UB_SANITIZER, to
> enable clang undefined behaviour sanitizer.
Intruduced option is disabled by default.
Do you plan to enable it on CI runs?
> The sanitizer revealed lots of unaligned memory accesses, and the
> patchset fixed all of them (which were found).
>
> Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4609-sanitize-alignment
> Issue: https://github.com/tarantool/tarantool/issues/4609
>
> Vladislav Shpilevoy (10):
> small: sanitized rlist and new region API
> cmake: ignore warnings on alignof() and offsetof()
> cmake: add option ENABLE_UB_SANITIZER
> crc32: disable align sanitizer
> sql: make BtCursor's memory aligned
> region: use aligned allocations where necessary
> vinyl: align statements and bps tree extents
> tuple: use unaligned store-load for field map
> port: make port_c_entry not PACKED
> xrow: use unaligned store operation in xrow_to_iovec()
<snipped>
More information about the Tarantool-patches
mailing list