File: opt-struc.asm

package info (click to toggle)
yasm 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 12,200 kB
  • ctags: 18,827
  • sloc: asm: 73,479; ansic: 48,942; sh: 9,773; python: 8,913; xml: 1,108; makefile: 147; pascal: 62; sed: 16
file content (39 lines) | stat: -rw-r--r-- 956 bytes parent folder | download | duplicates (12)
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
[absolute 0]
HOSTENT:
.Name		resd	1
.Aliases	resd	1

.AddrList	resd	1

HOSTENT_size:

[section .bss]
STRING_MAX		equ	256
HOSTENT_ALIASES_MAX	equ	16
HOSTENT_ADDRLIST_MAX	equ	16

HostEnt_Name_static	resb	STRING_MAX
HostEnt_Aliases_static	resd	HOSTENT_ALIASES_MAX
HostEnt_AddrList_static	resd	HOSTENT_ADDRLIST_MAX
HostEnt_Aliases_data	resb	STRING_MAX*HOSTENT_ALIASES_MAX
HostEnt_AddrList_data	resd	HOSTENT_ADDRLIST_MAX

[section .data]
HostEnt_static	:
..@44.strucstart:
times HOSTENT.Name-($-..@44.strucstart) db 0
dd	HostEnt_Name_static
times HOSTENT.Aliases-($-..@44.strucstart) db 0
dd	HostEnt_Aliases_static
times HOSTENT.AddrList-($-..@44.strucstart) db 0
dd	HostEnt_AddrList_static
times HOSTENT_size-($-..@44.strucstart) db 0

HostEnt_static2	:
..@45.strucstart:
times HOSTENT.Name-($-..@45.strucstart) db 0
dd	HostEnt_Name_static
times HOSTENT.Aliases-($-..@45.strucstart) db 0
dd	HostEnt_Aliases_static
times HOSTENT_size-($-..@45.strucstart) db 0