Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: courgette/disassembler_elf_32_x86_unittest.cc

Issue 1928683002: [Courgette] ELF: Fix abs32 / rel32 ordering in ParseFile() and restrict rel32 parsing to .text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "courgette/disassembler_elf_32_x86.h" 5 #include "courgette/disassembler_elf_32_x86.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 EXPECT_FALSE(found_match); 124 EXPECT_FALSE(found_match);
125 125
126 disassembler->TestSectionHeaderFileOffsetOrder(); 126 disassembler->TestSectionHeaderFileOffsetOrder();
127 127
128 disassembler->TestSectionName(); 128 disassembler->TestSectionName();
129 } 129 }
130 130
131 } // namespace 131 } // namespace
132 132
133 TEST_F(DisassemblerElf32X86Test, All) { 133 TEST_F(DisassemblerElf32X86Test, All) {
134 TestExe("elf-32-1", 200, 3441); 134 TestExe("elf-32-1", 200, 3337);
135 TestExe("elf-32-high-bss", 0, 13); 135 TestExe("elf-32-high-bss", 0, 4);
136 } 136 }
137 137
138 } // namespace courgette 138 } // namespace courgette
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698