aboutsummaryrefslogtreecommitdiff
path: root/src/third_party/libdisasm/x86_imm.h
blob: fa35ff2de466cbf587edcc489459e4858cfb695d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef x86_IMM_H
#define x86_IMM_H

#include "./qword.h"
#include <sys/types.h>

#ifdef WIN32
#include <windows.h>
#endif

/* these are in the global x86 namespace but are not a part of the
 * official API */
unsigned int x86_imm_sized( unsigned char *buf, size_t buf_len, void *dest,
			    unsigned int size );

unsigned int x86_imm_signsized( unsigned char *buf, size_t buf_len, void *dest,
				unsigned int size );
#endif