#include <relfile.h>
Inheritance diagram for ht_reloc_file:
Public Member Functions | |
void | init (ht_streamfile *streamfile, bool own_streamfile) |
virtual void | done () |
void | finalize () |
void | insert_reloc (FILEOFS o, Object *reloc) |
virtual UINT | read (void *buf, UINT size) |
virtual int | vcntl (UINT cmd, va_list vargs) |
virtual UINT | write (const void *buf, UINT size) |
Protected Member Functions | |
virtual void | reloc_apply (Object *reloc, byte *data)=0 |
virtual bool | reloc_unapply (Object *reloc, byte *data)=0 |
Protected Attributes | |
ht_tree * | relocs |
bool | enabled |
|
Reimplemented from ht_layer_streamfile. Definition at line 40 of file relfile.cc. References ht_tree::destroy(), ht_layer_streamfile::done(), and relocs. Referenced by ht_elf::auto_relocate32(), ht_le::done(), and ht_ne::init(). |
|
Definition at line 47 of file relfile.cc. Referenced by ht_elf::auto_relocate32(), ht_le::do_fixups(), and ht_ne::init(). |
|
Reimplemented from ht_layer_streamfile. Definition at line 31 of file relfile.cc. References compare_keys_uint(), enabled, ht_stream::init(), and relocs. |
|
Definition at line 68 of file relfile.cc. References FILEOFS, ht_tree::insert(), and relocs. Referenced by ht_le::do_fixups(), ht_elf::relocate_section(), and ht_ne::relocate_single(). |
|
Reimplemented from ht_layer_streamfile. Definition at line 73 of file relfile.cc. References assert, buf, byte, enabled, ht_tree::enum_next(), FILEOFS, MAX_RELOC_ITEM_LEN, MIN, NULL, ht_layer_streamfile::read(), reloc_apply(), relocs, size, ht_layer_streamfile::tell(), UINT, and ht_data_uint::value. Referenced by ht_le::check_vxd(). |
|
Implemented in ht_elf32_reloc_file, ht_le_reloc_file, ht_ne_reloc_file, and ht_pef_reloc_file. Referenced by read(). |
|
Implemented in ht_elf32_reloc_file, ht_le_reloc_file, ht_ne_reloc_file, and ht_pef_reloc_file. Referenced by write(). |
|
Reimplemented from ht_layer_streamfile. Definition at line 52 of file relfile.cc. References enabled, FCNTL_GET_RELOC, FCNTL_SET_RELOC, UINT, and ht_layer_streamfile::vcntl(). |
|
Reimplemented from ht_layer_streamfile. Definition at line 130 of file relfile.cc. References assert, buf, byte, enabled, ht_tree::enum_next(), FILEOFS, MAX_RELOC_ITEM_LEN, MIN, NULL, reloc_unapply(), relocs, size, ht_layer_streamfile::tell(), UINT, ht_data_uint::value, and ht_layer_streamfile::write(). |
|
|
|
Definition at line 33 of file relfile.h. Referenced by done(), init(), insert_reloc(), read(), and write(). |