1/* 2 * Copyright (c) 2002-2004 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; --- 55 unchanged lines hidden (view full) --- 64 Linux, 65 Solaris, 66 LinuxArmOABI, 67 FreeBSD 68 }; 69 70 protected: 71 const std::string filename; |
72 uint8_t *fileData; 73 size_t len; 74 75 Arch arch; 76 OpSys opSys; 77 |
78 ObjectFile(const std::string &_filename, size_t _len, uint8_t *_data, |
79 Arch _arch, OpSys _opSys); 80 81 public: 82 virtual ~ObjectFile(); 83 84 void close(); 85 86 virtual bool loadSections(PortProxy& memProxy, Addr addrMask = --- 60 unchanged lines hidden --- |