summaryrefslogtreecommitdiff
path: root/other/shellkit/x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/shellkit/x86.h')
-rw-r--r--other/shellkit/x86.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/other/shellkit/x86.h b/other/shellkit/x86.h
new file mode 100644
index 0000000..f902a38
--- /dev/null
+++ b/other/shellkit/x86.h
@@ -0,0 +1,21 @@
1
2#ifndef X86_H
3#define X86_H
4
5#define x86_TERMINATOR "\x78\x56\x34\x12"
6
7
8/* x86_nop
9 *
10 * generate `dest_len' bytes of nopspace at `dest', which does not contain
11 * any of the characters in `bad', which is `bad_len' bytes long.
12 *
13 * return number of bytes generated
14 */
15
16unsigned int
17x86_nop (unsigned char *dest, unsigned int dest_len,
18 unsigned char *bad, int bad_len);
19
20#endif
21