Skip to main content

base_idx_of_app_pc

Function base_idx_of_app_pc 

Source
pub unsafe fn base_idx_of_app_pc(app_pc: *const u8) -> usize
Expand description

Calculate a suitable coverage-bitmap base index for the program address app_pc. The address is hashed and masked to ensure it is within the bounds of the bitmap.