Beispiel #1
0
 public Expression GetValue(MemoryAccess access, SegmentMap segmentMap)
 {
     if (access.EffectiveAddress is Constant c)
     {
         var pc = importResolver.ResolveToImportedValue(this.Statement, c);
         if (pc != null)
         {
             return(pc);
         }
     }
     return(access);
 }
 public Expression GetValue(MemoryAccess access, SegmentMap segmentMap)
 {
     if (access.EffectiveAddress is Constant c &&
         // Search imported procedures only in Global Memory
         access.MemoryId.Storage == MemoryStorage.Instance)
     {
         var pc = importResolver.ResolveToImportedValue(this.Statement, c);
         if (pc != null)
         {
             return(pc);
         }
     }
     return(access);
 }