/external/chromium_org/courgette/ |
disassembler_elf_32_x86.cc | 24 // Convert an ELF relocation struction into an RVA 25 CheckBool DisassemblerElf32X86::RelToRVA(Elf32_Rel rel, RVA* result) const { 97 std::vector<RVA>::iterator reloc_iter = abs32_locations_.begin(); 126 // Quick way to convert from Pointer to RVA within a single Section is to 134 //RVA current_rva = static_cast<RVA>(p - adjust_pointer_to_rva); 153 RVA rva = static_cast<RVA>(rel32 - adjust_pointer_to_rva); local 154 TypedRVAX86* rel32_rva = new TypedRVAX86(rva); [all...] |
disassembler_elf_32.h | 29 // Different instructions encode the target rva differently. This 33 explicit TypedRVA(RVA rva) : rva_(rva), offset_(static_cast<size_t>(-1)) { 38 RVA rva() { function in class:courgette::DisassemblerElf32::TypedRVA 42 RVA relative_target() { 46 void set_relative_target(RVA relative_target) { 61 // Emits the courgette instruction corresponding to the RVA type. 63 RVA target_rva) = 0 [all...] |
disassembler_elf_32.cc | 142 CheckBool DisassemblerElf32::IsValidRVA(RVA rva) const { 154 if (rva >= begin && rva < end) 161 // Returns RVA for an in memory address, or NULL. 182 RVA DisassemblerElf32::FileOffsetToRVA(size_t offset) const { 206 CheckBool DisassemblerElf32::RVAsToOffsets(std::vector<RVA>* rvas, 210 for (std::vector<RVA>::iterator rva = rvas->begin(); 211 rva != rvas->end() 441 RVA rva; local [all...] |
disassembler_elf_32_arm.cc | 20 CheckBool DisassemblerElf32ARM::Compress(ARM_RVA type, uint32 arm_op, RVA rva, 90 uint32 align4byte = (rva % 4) ? 2 : 4; 229 RVA relative_target; 230 CheckBool ret = Compress(type_, Read16LittleEndian(op_pointer), rva(), 236 RVA relative_target; 237 CheckBool ret = Compress(type_, Read32LittleEndian(op_pointer), rva(), 248 RVA relative_target; 249 CheckBool ret = Compress(type_, pval, rva(), &c_op_, &relative_target); 260 RVA target_rva) 395 RVA rva = static_cast<RVA>(p - adjust_pointer_to_rva); local 404 RVA rva = static_cast<RVA>(p - adjust_pointer_to_rva); local 424 RVA rva = static_cast<RVA>(p - adjust_pointer_to_rva); local 435 RVA rva = static_cast<RVA>(p - adjust_pointer_to_rva); local 452 RVA rva = static_cast<RVA>(p - adjust_pointer_to_rva); local [all...] |
disassembler_win32_x64.cc | 219 bool DisassemblerWin32X64::ParseRelocs(std::vector<RVA> *relocs) { 246 RVA page_rva = ReadU32(block, 0); 265 RVA rva = page_rva + offset; local 267 relocs->push_back(rva); 284 const Section* DisassemblerWin32X64::RVAToSection(RVA rva) const { 287 uint32 offset = rva - section->virtual_address; 295 int DisassemblerWin32X64::RVAToFileOffset(RVA rva) const 376 RVA rva = abs32_locations_[i]; local 667 s << std::hex << rva; local [all...] |
disassembler_win32_x86.cc | 219 bool DisassemblerWin32X86::ParseRelocs(std::vector<RVA> *relocs) { 246 RVA page_rva = ReadU32(block, 0); 265 RVA rva = page_rva + offset; local 267 relocs->push_back(rva); 284 const Section* DisassemblerWin32X86::RVAToSection(RVA rva) const { 287 uint32 offset = rva - section->virtual_address; 295 int DisassemblerWin32X86::RVAToFileOffset(RVA rva) const 376 RVA rva = abs32_locations_[i]; local 667 s << std::hex << rva; local [all...] |
encoded_program.cc | 149 CheckBool EncodedProgram::DefineRel32Label(int index, RVA value) { 153 CheckBool EncodedProgram::DefineAbs32Label(int index, RVA value) { 157 static const RVA kUnassignedRVA = static_cast<RVA>(-1); 161 RVA rva) { 169 (*rvas)[index] = rva; 185 RVA previous = 0; 195 CheckBool EncodedProgram::AddOrigin(RVA origin) { 411 RVA& current_rva 419 RVA rva; local 441 RVA rva; local 461 RVA rva; local 480 RVA rva; local 500 RVA rva; local 591 RVA rva; local 606 RVA rva; local 744 uint32 rva = abs32_relocs_[i]; local [all...] |
/external/owasp/sanitizer/tools/findbugs/lib/ |
bcel.jar | |