File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ pub struct Object {
273
273
pub path : Option < std:: path:: PathBuf > ,
274
274
#[ cfg( feature = "std" ) ]
275
275
pub timestamp : Option < filetime:: FileTime > ,
276
- flow_analysis_results : BTreeMap < u64 , Box < dyn FlowAnalysisResult > > ,
276
+ pub flow_analysis_results : BTreeMap < u64 , Box < dyn FlowAnalysisResult > > ,
277
277
}
278
278
279
279
impl Default for Object {
@@ -329,7 +329,7 @@ impl Object {
329
329
}
330
330
331
331
pub fn get_flow_analysis_result ( & self , symbol : & Symbol ) -> Option < & dyn FlowAnalysisResult > {
332
- let key = symbol. section . unwrap_or_default ( ) as u64 + symbol. address ;
332
+ let key = symbol. section . unwrap_or_default ( ) as u64 * 1024 * 1024 * 1024 + symbol. address ;
333
333
self . flow_analysis_results . get ( & key) . map ( |result| result. as_ref ( ) )
334
334
}
335
335
@@ -338,7 +338,7 @@ impl Object {
338
338
symbol : & Symbol ,
339
339
result : Box < dyn FlowAnalysisResult > ,
340
340
) {
341
- let key = symbol. section . unwrap_or_default ( ) as u64 + symbol. address ;
341
+ let key = symbol. section . unwrap_or_default ( ) as u64 * 1024 * 1024 * 1024 + symbol. address ;
342
342
self . flow_analysis_results . insert ( key, result) ;
343
343
}
344
344
You can’t perform that action at this time.
0 commit comments