1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 31 unchanged lines hidden (view full) --- 40 41class EcoffObject : public ObjectFile 42{ 43 protected: 44 ecoff_exechdr *execHdr; 45 ecoff_filehdr *fileHdr; 46 ecoff_aouthdr *aoutHdr; 47 |
48 EcoffObject(const std::string &_filename, size_t _len, uint8_t *_data, |
49 Arch _arch, OpSys _opSys); 50 51 public: 52 virtual ~EcoffObject() {} 53 54 virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr addrMask = 55 std::numeric_limits<Addr>::max()); 56 virtual bool loadLocalSymbols(SymbolTable *symtab, Addr addrMask = 57 std::numeric_limits<Addr>::max()); 58 |
59 static ObjectFile *tryFile(const std::string &fname, |
60 size_t len, uint8_t *data); 61}; 62 63#endif // __ECOFF_OBJECT_HH__ |