#include <htle.h>
Inheritance diagram for ht_le_page_file:
Public Member Functions | |
void | init (ht_streamfile *file, bool own_file, ht_le_pagemap *pagemap, dword pagemapsize, dword page_size) |
virtual bool | isdirty (FILEOFS offset, UINT range) |
virtual UINT | read (void *buf, UINT size) |
virtual int | seek (FILEOFS offset) |
virtual FILEOFS | tell () |
virtual int | vcntl (UINT cmd, va_list vargs) |
virtual UINT | write (const void *buf, UINT size) |
bool | map_ofs (UINT lofs, FILEOFS *pofs, UINT *maxsize) |
bool | unmap_ofs (FILEOFS pofs, UINT *lofs) |
Protected Attributes | |
ht_le_pagemap * | pagemap |
dword | pagemapsize |
dword | page_size |
FILEOFS | ofs |
|
Definition at line 424 of file htle.cc. References file, ht_stream::init(), ofs, page_size, pagemap, and pagemapsize. Referenced by ht_le::init(). |
|
Definition at line 433 of file htle.cc. References ht_streamfile::cntl(), dword, FCNTL_MODS_IS_DIRTY, FILEOFS, isdirty(), map_ofs(), ofs, and UINT. Referenced by isdirty(). |
|
Map a paged and linearized LE offset to its corresponding physical file offset Definition at line 454 of file htle.cc. References FILEOFS, ht_le_pagemap::offset, page_size, pagemap, pagemapsize, UINT, and ht_le_pagemap::vsize. Referenced by LEAnalyser::addressToRealFileofs(), ht_le_aviewer::get_current_real_offset(), isdirty(), read(), vcntl(), and write(). |
|
Reimplemented from ht_layer_streamfile. Definition at line 478 of file htle.cc. References buf, byte, FILEOFS, map_ofs(), ofs, ht_stream::read(), ht_streamfile::seek(), size, and UINT. |
|
Reimplemented from ht_layer_streamfile. |
|
Reimplemented from ht_layer_streamfile. |
|
Definition at line 467 of file htle.cc. References FILEOFS, ht_le_pagemap::offset, page_size, pagemap, pagemapsize, UINT, and ht_le_pagemap::vsize. Referenced by LEAnalyser::realFileofsToAddress(). |
|
Reimplemented from ht_layer_streamfile. Definition at line 510 of file htle.cc. References ht_streamfile::cntl(), FCNTL_MODS_CLEAR_DIRTY_RANGE, FCNTL_MODS_IS_DIRTY, FILEOFS, map_ofs(), UINT, and ht_layer_streamfile::vcntl(). |
|
Reimplemented from ht_layer_streamfile. Definition at line 550 of file htle.cc. References buf, byte, FILEOFS, map_ofs(), ofs, ht_streamfile::seek(), size, UINT, and ht_stream::write(). |
|
Definition at line 110 of file htle.h. Referenced by init(), isdirty(), read(), seek(), tell(), and write(). |
|
Definition at line 109 of file htle.h. Referenced by init(), map_ofs(), and unmap_ofs(). |
|
Definition at line 107 of file htle.h. Referenced by init(), map_ofs(), and unmap_ofs(). |
|
Definition at line 108 of file htle.h. Referenced by init(), map_ofs(), and unmap_ofs(). |