mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-26 23:13:54 +00:00
Initial Commit
This commit is contained in:
21
thirdparty/capstone/suite/cstest/include/helper.h
vendored
Normal file
21
thirdparty/capstone/suite/cstest/include/helper.h
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/* Capstone testing regression */
|
||||
/* By Do Minh Tuan <tuanit96@gmail.com>, 02-2019 */
|
||||
|
||||
#ifndef HELPER_H
|
||||
#define HELPER_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define MAX_ASM_TXT_MEM 1024
|
||||
#define X86_16 0
|
||||
#define X86_32 1
|
||||
#define X86_64 2
|
||||
|
||||
void trim_str(char *str);
|
||||
void add_str(char **src, const char *format, ...);
|
||||
void replace_hex(char *src, size_t src_len);
|
||||
void replace_negative(char *src, size_t src_len, size_t arch_bits);
|
||||
void norm_spaces(char *str);
|
||||
void str_to_lower(char *str);
|
||||
|
||||
#endif /* HELPER_H */
|
Reference in New Issue
Block a user