object_file.hh (2665:a124942bacb8) | object_file.hh (3584:8c3cdb2c001c) |
---|---|
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; --- 100 unchanged lines hidden (view full) --- 109 110 Addr textBase() const { return text.baseAddr; } 111 Addr dataBase() const { return data.baseAddr; } 112 Addr bssBase() const { return bss.baseAddr; } 113 114 size_t textSize() const { return text.size; } 115 size_t dataSize() const { return data.size; } 116 size_t bssSize() const { return bss.size; } | 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; --- 100 unchanged lines hidden (view full) --- 109 110 Addr textBase() const { return text.baseAddr; } 111 Addr dataBase() const { return data.baseAddr; } 112 Addr bssBase() const { return bss.baseAddr; } 113 114 size_t textSize() const { return text.size; } 115 size_t dataSize() const { return data.size; } 116 size_t bssSize() const { return bss.size; } |
117 118 void setTextBase(Addr a) { text.baseAddr = a; } |
|
117}; 118 | 119}; 120 |
119ObjectFile *createObjectFile(const std::string &fname); | 121ObjectFile *createObjectFile(const std::string &fname, bool raw = false); |
120 121 122#endif // __OBJECT_FILE_HH__ | 122 123 124#endif // __OBJECT_FILE_HH__ |