Skip to content

Commit

Permalink
Hide set_image_base API
Browse files Browse the repository at this point in the history
  • Loading branch information
mzohreva committed Oct 2, 2023
1 parent df34646 commit f09114a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backtrace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ mod sgx_no_std_image_base {
/// Set the image base address. This is only available for Fortanix SGX
/// target when the `std` feature is not enabled. This can be used in the
/// standard library to set the correct base address.
#[doc(hidden)]
pub fn set_image_base(base_addr: u64) {
IMAGE_BASE.store(base_addr, SeqCst);
}
Expand Down

0 comments on commit f09114a

Please sign in to comment.