Re: [PATCH v2 4/7] rust_binder: Implement BINDER_DEBUG_USER_ERROR for transaction parsing failures
From: Carlos Llamas
Date: Fri Jul 10 2026 - 16:08:03 EST
On Fri, Jul 10, 2026 at 02:32:55PM +0000, Jahnavi MN via B4 Relay wrote:
> From: Jahnavi MN <jahnavimn@xxxxxxxxxx>
>
> This adds dynamic debug logs in `thread.rs` for:
> - File descriptor array (FDA) parent offset and parent buffer address
> alignment misalignments.
> - Memory copy, write, and translation failures during transaction
> serialization (including out-of-bounds pointer fixups).
> - Incoming transactions or replies that do not match the expected
> thread calling stack (such as out-of-order replies).
>
> Signed-off-by: Jahnavi MN <jahnavimn@xxxxxxxxxx>
> ---
LGTM, thanks!
Reviewed-by: Carlos Llamas <cmllamas@xxxxxxxxxx>