summaryrefslogtreecommitdiff
path: root/view/pe/peview.cpp
diff options
context:
space:
mode:
authorBrandon Miller <brandon@vector35.com>2024-03-10 20:55:48 -0400
committerBrandon Miller <bkmiller89@icloud.com>2024-03-11 09:10:15 -0400
commita17853bb2082291306a04281cf672dc69f5fe7eb (patch)
treee177a76cb5e161c0479f421e2e559b87684e87ba /view/pe/peview.cpp
parenta542d0c9cd33fed5919c3cd9d598bb8d1a300ae8 (diff)
BinaryView for EFI Terse Executables
In its current state it is able to detect and load TEs that target x86, x86-64, and AArch64. RISC-V will need to be added in the future The current implementation doesn't handle relocations. I have only found TEs that are PEIMs and execute in-place (out of flash) and the .reloc section is stripped (along with .debug)
Diffstat (limited to 'view/pe/peview.cpp')
-rw-r--r--view/pe/peview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/pe/peview.cpp b/view/pe/peview.cpp
index 794cb5d6..19cf7e09 100644
--- a/view/pe/peview.cpp
+++ b/view/pe/peview.cpp
@@ -10,6 +10,7 @@
#include <utility>
#include "peview.h"
#include "coffview.h"
+#include "teview.h"
#define STRING_READ_CHUNK_SIZE 32
@@ -2965,6 +2966,7 @@ extern "C"
{
InitPEViewType();
InitCOFFViewType();
+ InitTEViewType();
return true;
}
}