summaryrefslogtreecommitdiffstats
path: root/courgette/encoded_program_fuzz_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/encoded_program_fuzz_unittest.cc')
-rw-r--r--courgette/encoded_program_fuzz_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/courgette/encoded_program_fuzz_unittest.cc b/courgette/encoded_program_fuzz_unittest.cc
index 1330510..fbf8df7 100644
--- a/courgette/encoded_program_fuzz_unittest.cc
+++ b/courgette/encoded_program_fuzz_unittest.cc
@@ -40,7 +40,8 @@ void DecodeFuzzTest::FuzzExe(const char* file_name) const {
courgette::AssemblyProgram* program = NULL;
const courgette::Status parse_status =
- courgette::ParseWin32X86PE(original_buffer, original_length, &program);
+ courgette::ParseDetectedExecutable(original_buffer, original_length,
+ &program);
EXPECT_EQ(courgette::C_OK, parse_status);
courgette::EncodedProgram* encoded = NULL;