From d127146846f4d6561e15000d1469b715dafdb627 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 2 Nov 2024 15:28:23 +0200 Subject: initial exec support --- include/kmi/regions.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/kmi/regions.h b/include/kmi/regions.h index 5167d28..74d4387 100644 --- a/include/kmi/regions.h +++ b/include/kmi/regions.h @@ -236,6 +236,8 @@ struct mem_region *find_first_region(struct mem_region_root *r); */ struct mem_region *find_used_region(struct mem_region_root *r, vm_t start); +struct mem_region *find_addr_region(struct mem_region_root *r, vm_t addr); + /** * Find used memory region closest to \c start. * Useful when you don't necessarily need the exact region, just something close -- cgit v1.3