elf_object.hh (5090:ac0d2ccc9c3b) | elf_object.hh (7581:692cdb71febd) |
---|---|
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; --- 36 unchanged lines hidden (view full) --- 45 //These values are provided to a linux process by the kernel, so we 46 //need to keep them around. 47 Addr _programHeaderTable; 48 uint16_t _programHeaderSize; 49 uint16_t _programHeaderCount; 50 std::set<std::string> sectionNames; 51 52 /// Helper functions for loadGlobalSymbols() and loadLocalSymbols(). | 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; --- 36 unchanged lines hidden (view full) --- 45 //These values are provided to a linux process by the kernel, so we 46 //need to keep them around. 47 Addr _programHeaderTable; 48 uint16_t _programHeaderSize; 49 uint16_t _programHeaderCount; 50 std::set<std::string> sectionNames; 51 52 /// Helper functions for loadGlobalSymbols() and loadLocalSymbols(). |
53 bool loadSomeSymbols(SymbolTable *symtab, int binding); | 53 bool loadSomeSymbols(SymbolTable *symtab, int binding, Addr mask); |
54 55 ElfObject(const std::string &_filename, int _fd, 56 size_t _len, uint8_t *_data, 57 Arch _arch, OpSys _opSys); 58 59 void getSections(); 60 bool sectionExists(std::string sec); 61 --- 23 unchanged lines hidden --- | 54 55 ElfObject(const std::string &_filename, int _fd, 56 size_t _len, uint8_t *_data, 57 Arch _arch, OpSys _opSys); 58 59 void getSections(); 60 bool sectionExists(std::string sec); 61 --- 23 unchanged lines hidden --- |