diff options
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 | |||
