Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
dfe94187
Commit
dfe94187
authored
May 23, 2023
by
André Zwing
Committed by
Alexandre Julliard
May 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Recognize RISC-V PEs.
parent
0b23d22b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
winnt.h
include/winnt.h
+3
-0
pe.c
tools/winedump/pe.c
+3
-0
No files found.
include/winnt.h
View file @
dfe94187
...
...
@@ -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
...
...
tools/winedump/pe.c
View file @
dfe94187
...
...
@@ -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
"???"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment