On Fri, Jan 30, 2026 at 10:50:15AM +0800, Feng Jiang wrote:
> Extend the string benchmarking suite to include strnlen(), strchr(),
> and strrchr().
> 
> For character search functions strchr() and strrchr(), the benchmark
> targets the NUL character. This ensures the entire string is scanned,
> providing a consistent measure of full-length processing efficiency
> comparable to strlen().
> 
> Suggested-by: Andy Shevchenko <[email protected]>
> Suggested-by: Eric Biggers <[email protected]>
> Signed-off-by: Feng Jiang <[email protected]>

Reviewed-by: Kees Cook <[email protected]>

-- 
Kees Cook

Reply via email to