mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-05 08:42:05 +00:00
Different function type
This commit is contained in:
parent
39cec3442b
commit
6683059a48
@ -162,7 +162,7 @@ struct _XLIST_ENTRY;
|
|||||||
typedef _XLIST_ENTRY XLIST_ENTRY;
|
typedef _XLIST_ENTRY XLIST_ENTRY;
|
||||||
typedef xpointer<XLIST_ENTRY> PXLIST_ENTRY;
|
typedef xpointer<XLIST_ENTRY> PXLIST_ENTRY;
|
||||||
|
|
||||||
typedef struct _X_RUNTIME_FUNCTION
|
typedef struct _IMAGE_CE_RUNTIME_FUNCTION
|
||||||
{
|
{
|
||||||
DWORD BeginAddress;
|
DWORD BeginAddress;
|
||||||
|
|
||||||
@ -171,14 +171,15 @@ typedef struct _X_RUNTIME_FUNCTION
|
|||||||
DWORD Data;
|
DWORD Data;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
DWORD FunctionType : 2;
|
|
||||||
DWORD FunctionLength : 22;
|
|
||||||
DWORD PrologLength : 8;
|
DWORD PrologLength : 8;
|
||||||
|
DWORD FunctionLength : 22;
|
||||||
|
DWORD ThirtyTwoBit : 1;
|
||||||
|
DWORD ExceptionFlag : 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} X_RUNTIME_FUNCTION;
|
} IMAGE_CE_RUNTIME_FUNCTION;
|
||||||
|
|
||||||
static_assert(sizeof(X_RUNTIME_FUNCTION) == 8);
|
static_assert(sizeof(IMAGE_CE_RUNTIME_FUNCTION) == 8);
|
||||||
|
|
||||||
typedef struct _XLIST_ENTRY
|
typedef struct _XLIST_ENTRY
|
||||||
{
|
{
|
||||||
|
2
tests/PowerAnalyse/private/.gitignore
vendored
Normal file
2
tests/PowerAnalyse/private/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
3
thirdparty/disasm/ppc.h
vendored
3
thirdparty/disasm/ppc.h
vendored
@ -19,6 +19,9 @@
|
|||||||
/* A macro to extract whether the branch is a link. */
|
/* A macro to extract whether the branch is a link. */
|
||||||
#define PPC_BL(i) (!!((i) & 1))
|
#define PPC_BL(i) (!!((i) & 1))
|
||||||
|
|
||||||
|
/* A macro to extract the branch operation of an instruction. */
|
||||||
|
#define PPC_BO(i) (((i) >> 21) & 0x1F)
|
||||||
|
|
||||||
#define PPC_OP_TDI 2
|
#define PPC_OP_TDI 2
|
||||||
#define PPC_OP_TWI 3
|
#define PPC_OP_TWI 3
|
||||||
#define PPC_OP_MULLI 7
|
#define PPC_OP_MULLI 7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user