diff options
Diffstat (limited to 'src/base/loader/aout_object.hh')
-rw-r--r-- | src/base/loader/aout_object.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/loader/aout_object.hh b/src/base/loader/aout_object.hh index 7bac5be65..110dcfd36 100644 --- a/src/base/loader/aout_object.hh +++ b/src/base/loader/aout_object.hh @@ -41,7 +41,7 @@ class AoutObject : public ObjectFile protected: aout_exechdr *execHdr; - AoutObject(const std::string &_filename, int _fd, + AoutObject(const std::string &_filename, size_t _len, uint8_t *_data, Arch _arch, OpSys _opSys); @@ -53,7 +53,7 @@ class AoutObject : public ObjectFile virtual bool loadLocalSymbols(SymbolTable *symtab, Addr addrMask = std::numeric_limits<Addr>::max()); - static ObjectFile *tryFile(const std::string &fname, int fd, + static ObjectFile *tryFile(const std::string &fname, size_t len, uint8_t *data); }; |