[LTP] [PATCH v10 3/3] coredump02: Verify ELF structure and notes

Cyril Hrubis chrubis@suse.cz
Thu Sep 10 15:02:50 CEST 2026


Hi!
> > AFAIK the 4 byte padding may happen on x86_64 only for a historical
> > reasons and x86_64 is at the same time capable of handling unaligned
> > access. AArch64 should have 8 byte padding.
> 
> yes, it happens only in x86_64, but I wouldn't rely too much on unaligned
> access handling if it's just few bytes copy away. code is 100% stable like
> this.

It looks like working around potentional bugs rather than anything else.
The elements should be aligned so that they could be accessed on the
targed architecture.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list