mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 13:45:39 +08:00
Corrected pcode_test.h function pointer declaration in TestInfo struct.
This commit is contained in:
@@ -29,9 +29,6 @@
|
||||
#define PACKED_STRUCTURE
|
||||
#endif
|
||||
|
||||
typedef i4 (*entryFunc)(i4 * val);
|
||||
typedef i4 (*breakOn)(void);
|
||||
typedef i4 (*breakOnD)(const char *file, int line, const char *func);
|
||||
typedef i4 (*testFuncPtr)(void);
|
||||
|
||||
typedef struct PACKED_STRUCTURE FunctionInfo
|
||||
@@ -46,9 +43,9 @@ typedef struct PACKED_STRUCTURE TestInfo
|
||||
char id[8]; /* id constains a "Magic Number" which will allow us to find this in a binary */
|
||||
u4 ptrSz; /* how many bytes in a pointer? */
|
||||
u4 byteOrder; /* value 0x01020304 used to detect endianess */
|
||||
breakOn onPass; /* address of breakOnPass function, (where it goes on test pass) */
|
||||
breakOn onError; /* address of breakOnError function, (where it goes on test failure) */
|
||||
breakOnD onDone; /* address of breakOnDone function, (where it goes when all test done) */
|
||||
void *onPass; /* address of breakOnPass function, (where it goes on test pass) */
|
||||
void *onError; /* address of breakOnError function, (where it goes on test failure) */
|
||||
void *onDone; /* address of breakOnDone function, (where it goes when all test done) */
|
||||
u4 numpass; /* How many test passed */
|
||||
u4 numfail; /* How many test failed */
|
||||
u4 lastTestPos; /* Last test index number */
|
||||
|
||||
Reference in New Issue
Block a user