summaryrefslogtreecommitdiff
path: root/other/shellkit/mips.h
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/shellkit/mips.h
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/shellkit/mips.h')
-rw-r--r--other/shellkit/mips.h19
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
13unsigned int
14mips_nop (unsigned char *dest, unsigned int dest_len,
15 unsigned char *bad, int bad_len);
16
17#endif
18
19