Re: [PATCH v5] bpftool: Add CET-aware symbol matching for x86_64 architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your message had a
"Reply-To: <aef2617b-ce03-4830-96a7-39df0c93aaad@xxxxxxxxxx>" header, I
ignored it. I believe you meant to have In-Reply-To: instead.


2025-07-23 10:20 UTC+0800 ~ chenyuan_fl@xxxxxxx
> From: Yuan Chen <chenyuan@xxxxxxxxxx>
> 
> Adjust symbol matching logic to account for Control-flow Enforcement
> Technology (CET) on x86_64 systems. CET prefixes functions with
> a 4-byte 'endbr' instruction, shifting the actual hook entry point to
> symbol + 4.
> 
> Changed in PATCH v4:
> * Refactor repeated code into a function.
> * Add detection for the x86 architecture.
> 
> Changed int PATH v5:
> * Remove detection for the x86 architecture.
> 
> Signed-off-by: Yuan Chen <chenyuan@xxxxxxxxxx>
> ---


Looks good from my side, thank you!

Reviewed-by: Quentin Monnet <qmo@xxxxxxxxxx>

Probably worth waiting for Yonghong's ack as well before merging this patch.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux