Returns the range of bytes in memory where this module's compilation image resides. The compilation image for a module contains executable code, data, debug information, etc. This is roughly the same as the `Module::serialize` but not the exact same. The range of memory reported here is exposed to allow low-level manipulation of the memory in platform-specific manners such as using `mlock` to fo
(&self)
| 1004 | /// Note that depending on the engine configuration, this image |
| 1005 | /// range may not actually be the code that is directly executed. |
| 1006 | pub fn image_range(&self) -> Range<*const u8> { |
| 1007 | self.engine_code().image().as_ptr_range() |
| 1008 | } |
| 1009 | |
| 1010 | /// Force initialization of copy-on-write images to happen here-and-now |
| 1011 | /// instead of when they're requested during first instantiation. |
no test coverage detected