Commit dfe94187 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard

winedump: Recognize RISC-V PEs.

parent 0b23d22b
......@@ -2651,6 +2651,9 @@ typedef struct _IMAGE_VXD_HEADER {
#define IMAGE_FILE_MACHINE_ARM64EC 0xa641
#define IMAGE_FILE_MACHINE_ARM64X 0xa64e
#define IMAGE_FILE_MACHINE_ARM64 0xaa64
#define IMAGE_FILE_MACHINE_RISCV32 0x5032
#define IMAGE_FILE_MACHINE_RISCV64 0x5064
#define IMAGE_FILE_MACHINE_RISCV128 0x5128
#define IMAGE_FILE_MACHINE_CEE 0xc0ee
#define IMAGE_SIZEOF_FILE_HEADER 20
......
......@@ -59,6 +59,9 @@ const char *get_machine_str(int mach)
case IMAGE_FILE_MACHINE_CHPE_X86: return "CHPE-x86";
case IMAGE_FILE_MACHINE_ARM64EC: return "ARM64EC";
case IMAGE_FILE_MACHINE_ARM64X: return "ARM64X";
case IMAGE_FILE_MACHINE_RISCV32: return "RISC-V 32-bit";
case IMAGE_FILE_MACHINE_RISCV64: return "RISC-V 64-bit";
case IMAGE_FILE_MACHINE_RISCV128: return "RISC-V 128-bit";
}
return "???";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment