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/executor_darwin.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'executor/executor_darwin.h') diff --git a/executor/executor_darwin.h b/executor/executor_darwin.h index 83fe90c45..11146acc3 100644 --- a/executor/executor_darwin.h +++ b/executor/executor_darwin.h @@ -127,6 +127,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