This file is indexed.

/usr/include/z80ex/z80ex_dasm.h is in libz80ex-dev 1.1.21-1.

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
/*
 * Z80Ex, ZILoG Z80 CPU emulator.
 *
 * by Pigmaker57 aka boo_boo [pigmaker57@kahoh57.info]
 *
 * contains some code from the FUSE project (http://fuse-emulator.sourceforge.net)
 * Released under GNU GPL v2
 *
 */

#ifndef _Z80EX_DASM_H_INCLUDED
#define _Z80EX_DASM_H_INCLUDED

#include "z80ex_common.h"

/*callback that returns byte for a given adress*/
typedef Z80EX_BYTE (*z80ex_dasm_readbyte_cb)(Z80EX_WORD addr, void *user_data);

/*flags*/
enum Z80EX_DASM_FLAGS {
	WORDS_DEC = 1,
	BYTES_DEC = 2
};

#ifndef __Z80EX_SELF_INCLUDE

#ifdef __cplusplus
extern "C" {
#endif
	
/*z80ex_dasm: disassemble single instruction at the given adress
output - text buffer to write disassembly to
output_size - length of the text buffer
flags - output format settings, or 0 for defaults
t_states  - will be set to T-states of the instruction
t_states2 - for branching commands: T-states when PC is changed, for other commands: 0 
readbyte_cb - callback function for reading byte at given adress
addr - adress of the first byte of the instruction to disassemble
user_data - will be passed to readbyte_cb callback

returns: length of processed instruction in bytes
*/
extern int z80ex_dasm(char *output, int output_size, unsigned flags, int *t_states, int *t_states2,
	z80ex_dasm_readbyte_cb readbyte_cb, Z80EX_WORD addr, void *user_data);

#ifdef __cplusplus
}
#endif	
		
#endif

#endif