Struct move_coverage::coverage_map::TraceMap
source · pub struct TraceMap {
pub exec_maps: BTreeMap<String, Vec<TraceEntry>>,
}
Fields§
§exec_maps: BTreeMap<String, Vec<TraceEntry>>
Implementations§
source§impl TraceMap
impl TraceMap
sourcepub fn update_from_trace_file<P: AsRef<Path>>(self, filename: P) -> Self
pub fn update_from_trace_file<P: AsRef<Path>>(self, filename: P) -> Self
Takes in a file containing a raw VM trace, and returns an updated coverage map.
pub fn from_trace_file<P: AsRef<Path>>(filename: P) -> Self
pub fn from_binary_file<P: AsRef<Path>>(filename: P) -> Self
pub fn insert( &mut self, exec_id: &str, module_addr: AccountAddress, module_name: Identifier, func_name: Identifier, pc: u64 )
Trait Implementations§
source§impl<'de> Deserialize<'de> for TraceMap
impl<'de> Deserialize<'de> for TraceMap
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more