mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-26 06:53:56 +00:00
Initial Commit
This commit is contained in:
24
thirdparty/capstone/suite/fuzz/platform.h
vendored
Normal file
24
thirdparty/capstone/suite/fuzz/platform.h
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef CS_FUZZ_PLATFORM_H
|
||||
#define CS_FUZZ_PLATFORM_H
|
||||
|
||||
#include <capstone/capstone.h>
|
||||
|
||||
struct platform {
|
||||
cs_arch arch;
|
||||
cs_mode mode;
|
||||
const char *comment;
|
||||
const char *cstoolname;
|
||||
};
|
||||
|
||||
extern struct platform platforms[];
|
||||
|
||||
// get length of platforms[]
|
||||
unsigned int platform_len(void);
|
||||
|
||||
// get platform entry encoded n (first byte for input data of OSS fuzz)
|
||||
unsigned int get_platform_entry(uint8_t n);
|
||||
|
||||
// get cstoolname from encoded n (first byte for input data of OSS fuzz)
|
||||
const char *get_platform_cstoolname(uint8_t n);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user