/usr/include/mono-2.0/mono/metadata/opcodes.h is in libmono-2.0-dev 4.6.2.7+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | #ifndef __MONO_METADATA_OPCODES_H__
#define __MONO_METADATA_OPCODES_H__
/*
* opcodes.h: CIL instruction information
*
* Author:
* Paolo Molaro (lupus@ximian.com)
*
* (C) 2002 Ximian, Inc.
*/
#include <mono/utils/mono-publib.h>
MONO_BEGIN_DECLS
#define MONO_CUSTOM_PREFIX 0xf0
#define OPDEF(a,b,c,d,e,f,g,h,i,j) \
MONO_ ## a,
typedef enum {
#include "mono/cil/opcode.def"
MONO_CEE_LAST
} MonoOpcodeEnum;
#undef OPDEF
enum {
MONO_FLOW_NEXT,
MONO_FLOW_BRANCH,
MONO_FLOW_COND_BRANCH,
MONO_FLOW_ERROR,
MONO_FLOW_CALL,
MONO_FLOW_RETURN,
MONO_FLOW_META
};
enum {
MonoInlineNone,
MonoInlineType,
MonoInlineField,
MonoInlineMethod,
MonoInlineTok,
MonoInlineString,
MonoInlineSig,
MonoInlineVar,
MonoShortInlineVar,
MonoInlineBrTarget,
MonoShortInlineBrTarget,
MonoInlineSwitch,
MonoInlineR,
MonoShortInlineR,
MonoInlineI,
MonoShortInlineI,
MonoInlineI8
};
typedef struct {
unsigned char argument;
unsigned char flow_type;
unsigned short opval;
} MonoOpcode;
extern const MonoOpcode mono_opcodes [];
MONO_API const char*
mono_opcode_name (int opcode);
MONO_API MonoOpcodeEnum
mono_opcode_value (const mono_byte **ip, const mono_byte *end);
MONO_END_DECLS
#endif /* __MONO_METADATA_OPCODES_H__ */
|