wamr_sys

Function wasm_runtime_get_app_addr_range

Source
pub unsafe extern "C" fn wasm_runtime_get_app_addr_range(
    module_inst: wasm_module_inst_t,
    app_offset: u64,
    p_app_start_offset: *mut u64,
    p_app_end_offset: *mut u64,
) -> bool
Expand description

Get the app address range (relative address) that a app address belongs to

@param module_inst the WASM module instance @param app_offset the app address to retrieve @param p_app_start_offset buffer to output the app start offset if not NULL @param p_app_end_offset buffer to output the app end offset if not NULL

@return true if success, false otherwise.