mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Corrected pcode_test.h function pointer declaration in TestInfo struct.
This commit is contained in:
parent
d7877b0353
commit
dd92314b85
1 changed files with 3 additions and 6 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue