raw_object.hh (3584:8c3cdb2c001c) | raw_object.hh (3812:eaa215123a26) |
---|---|
1/* 2 * Copyright (c) 2006 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; --- 27 unchanged lines hidden (view full) --- 36class RawObject: public ObjectFile 37{ 38 protected: 39 RawObject(const std::string &_filename, int _fd, size_t _len, 40 uint8_t *_data, Arch _arch, OpSys _opSys); 41 public: 42 virtual ~RawObject() {} 43 | 1/* 2 * Copyright (c) 2006 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; --- 27 unchanged lines hidden (view full) --- 36class RawObject: public ObjectFile 37{ 38 protected: 39 RawObject(const std::string &_filename, int _fd, size_t _len, 40 uint8_t *_data, Arch _arch, OpSys _opSys); 41 public: 42 virtual ~RawObject() {} 43 |
44 virtual bool loadGlobalSymbols(SymbolTable *symtab); 45 virtual bool loadLocalSymbols(SymbolTable *symtab); | 44 virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr addrMask = 45 std::numeric_limits<Addr>::max()); 46 virtual bool loadLocalSymbols(SymbolTable *symtab, Addr addrMask = 47 std::numeric_limits<Addr>::max()); |
46 47 static ObjectFile *tryFile(const std::string &fname, int fd, size_t len, 48 uint8_t *data); 49}; 50 51 52 53#endif // __BASE_LOADER_RAW_OBJECT_HH__ | 48 49 static ObjectFile *tryFile(const std::string &fname, int fd, size_t len, 50 uint8_t *data); 51}; 52 53 54 55#endif // __BASE_LOADER_RAW_OBJECT_HH__ |