From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- other/shellkit/mips.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 other/shellkit/mips.h (limited to 'other/shellkit/mips.h') diff --git a/other/shellkit/mips.h b/other/shellkit/mips.h new file mode 100644 index 0000000..98f8999 --- /dev/null +++ b/other/shellkit/mips.h @@ -0,0 +1,19 @@ + +#ifndef MIPS_H +#define MIPS_H + +/* mips_nop + * + * create `dest_len' bytes of nopspace at `dest', which does not contain any + * of the bytes in `bad', which is a char array, `bad_len' in size + * + * return number of bytes generated + */ + +unsigned int +mips_nop (unsigned char *dest, unsigned int dest_len, + unsigned char *bad, int bad_len); + +#endif + + -- cgit v1.3