| 1 | #cxx . . $ `<file>/suite/fuzz/platform.h`/ifndef CS_FUZZ_PLATFORM_H |
| 2 | #define CS_FUZZ_PLATFORM_Hcxx . . $ `suite/fuzz/platform.h:2:9`! |
| 3 | |
| 4 | #include <capstone/capstone.h>cxx . . $ `<file>/include/capstone/capstone.h`/ |
| 5 | |
| 6 | struct platformcxx . . $ platform# { |
| 7 | cs_archcxx . . $ cs_arch# archcxx . . $ platform#arch.; |
| 8 | cs_modecxx . . $ cs_mode# modecxx . . $ platform#mode.; |
| 9 | const char *commentcxx . . $ platform#comment.; |
| 10 | const char *cstoolnamecxx . . $ platform#cstoolname.; |
| 11 | }; |
| 12 | |
| 13 | extern struct platformcxx . . $ platform# platformscxx . . $ platforms.[]; |
| 14 | |
| 15 | // get length of platforms[] |
| 16 | unsigned int platform_lencxx . . $ platform_len(db52760e79bf9054).(void); |
| 17 | |
| 18 | // get platform entry encoded n (first byte for input data of OSS fuzz) |
| 19 | unsigned int get_platform_entrycxx . . $ get_platform_entry(ded9d4c05c7b1550).(uint8_tcxx . . $ uint8_t# n); |
| 20 | |
| 21 | // get cstoolname from encoded n (first byte for input data of OSS fuzz) |
| 22 | const char *get_platform_cstoolnamecxx . . $ get_platform_cstoolname(42624c5f3be67010).(uint8_tcxx . . $ uint8_t# n); |
| 23 | |
| 24 | #endif |