Esempio n. 1
0
 private Reader CreatePhysicalReader()
 {
     if (!_dataSourceIsVirtualAddressSpace)
     {
         return(DataSourceReader);
     }
     else
     {
         return(DataSourceReader.WithAddressSpace(new MachPhysicalAddressSpace(_reader.DataSource, PreferredVMBaseAddress, Segments)));
     }
 }
Esempio n. 2
0
 private Reader CreateVirtualAddressReader()
 {
     if (_isDataSourceVirtualAddressSpace)
     {
         return(DataSourceReader);
     }
     else
     {
         return(DataSourceReader.WithAddressSpace(new ELFVirtualAddressSpace(Segments)));
     }
 }
Esempio n. 3
0
 private Reader CreateVirtualReader()
 {
     if (_dataSourceIsVirtualAddressSpace)
     {
         return(DataSourceReader);
     }
     else
     {
         return(DataSourceReader.WithAddressSpace(new MachVirtualAddressSpace(Segments)));
     }
 }