private IEnumerable <ProgramAddress> GetPointersInSegment(ImageSegment s) { var rdr = s.CreateImageReader(program.Architecture); return(program.Platform.CreatePointerScanner( program.SegmentMap, rdr, addresses, PointerScannerFlags.All) .Select(a => new ProgramAddress(program, a))); }
private IEnumerable <AddressSearchHit> GetPointersInSegment(ImageSegment s) { var rdr = s.CreateImageReader(program.Architecture); return(program.Platform.CreatePointerScanner( program.SegmentMap, rdr, addresses, PointerScannerFlags.All) .Select(a => new AddressSearchHit { Program = program, Address = a, Length = 1 })); }