summaryrefslogtreecommitdiff
path: root/other/shellkit/mips.h
blob: 98f89993e7250e70fa6b546fe028635ed7d544c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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