00001 #ifndef ROSE_LOADER_ELFOBJ_H 00002 #define ROSE_LOADER_ELFOBJ_H 00003 #include "LoaderELF.h" 00008 class LoaderELFObj: public LoaderELF { 00009 public: 00010 virtual ~LoaderELFObj() {} 00011 virtual bool can_handle(SgAsmGenericHeader*); 00012 00013 /* Identical to parent class but with this minor difference: Any section that has no mapping information but is known to 00014 * contain code (SgAsmGenericSection::get_contains_code() is true) is mapped to an otherwise unused area of the virtual 00015 * memory. */ 00016 virtual rose_addr_t align_values(SgAsmGenericSection*, Contribution, rose_addr_t *va, rose_addr_t *mem_size, 00017 rose_addr_t *offset, rose_addr_t *file_size, const MemoryMap *current); 00018 }; 00019 00020 #endif
1.4.7