From a17853bb2082291306a04281cf672dc69f5fe7eb Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Sun, 10 Mar 2024 20:55:48 -0400 Subject: 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) --- view/pe/peview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/pe/peview.cpp') 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 #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; } } -- cgit v1.3.1