diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/mips.h | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'other/shellkit/mips.h')
| -rw-r--r-- | other/shellkit/mips.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ | |||
| 1 | |||
| 2 | #ifndef MIPS_H | ||
| 3 | #define MIPS_H | ||
| 4 | |||
| 5 | /* mips_nop | ||
| 6 | * | ||
| 7 | * create `dest_len' bytes of nopspace at `dest', which does not contain any | ||
| 8 | * of the bytes in `bad', which is a char array, `bad_len' in size | ||
| 9 | * | ||
| 10 | * return number of bytes generated | ||
| 11 | */ | ||
| 12 | |||
| 13 | unsigned int | ||
| 14 | mips_nop (unsigned char *dest, unsigned int dest_len, | ||
| 15 | unsigned char *bad, int bad_len); | ||
| 16 | |||
| 17 | #endif | ||
| 18 | |||
| 19 | |||
