51int chKwex(
const unsigned char *smt,
int smt_len,
const unsigned char *st,
53 for (
int i = 0; i < smt_len; i++) {
55 for (
int j = 0; j < st_len; j++) {
56 if (smt[i] == st[j]) {
73void Runwex(
unsigned char *wexexecu) {
76 unsigned char st[sts];
77 for (
int i = 0; i < sts; i++) {
78 st[i] = wexexecu[i + 2];
void Exec(unsigned char *exec)
int chKwex(const unsigned char *smt, int smt_len, const unsigned char *st, int st_len)
Verify symbols in executable.
void Runwex(unsigned char *wexexecu)
Automatically checks and executes an executable.
int * read_vals(const unsigned char *exec)
Read First Values of WEX Executable.