From 2a003ea76245ebf8417137c75d95874a91d1a09f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 10 Jun 2024 11:06:31 +0200 Subject: executor: factor out is_kernel_pc helper Factor out is_kernel_pc helper and add kernel pc range for test OS for testing. --- executor/nocover.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'executor/nocover.h') diff --git a/executor/nocover.h b/executor/nocover.h index ba26dd1d5..b097e9f43 100644 --- a/executor/nocover.h +++ b/executor/nocover.h @@ -34,6 +34,11 @@ static bool is_kernel_data(uint64 addr) return false; } +static int is_kernel_pc(uint64 pc) +{ + return 0; +} + static bool use_cover_edges(uint64 pc) { return true; -- cgit mrf-deployment