From 9b16f190492f26e065f13f19e51c4e2180a21143 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 15 Feb 2019 17:20:57 -0800 Subject: 4973 Support immediate operands in the data segment in all the ways we support them in the code segment. --- subx/053new-segment.subx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'subx/053new-segment.subx') diff --git a/subx/053new-segment.subx b/subx/053new-segment.subx index 0aee0539..fd7203b9 100644 --- a/subx/053new-segment.subx +++ b/subx/053new-segment.subx @@ -48,16 +48,16 @@ $new-segment:end: # various constants used here were found in the Linux sources (search for file mman-common.h) _mmap-new-segment: # type mmap_arg_struct # addr - 00 00 00 00 # null + 0/imm32 # len - 00 00 00 00 # 0x1000 + 0/imm32 # protection flags - 03 00 00 00 # PROT_READ | PROT_WRITE + 3/imm32 # PROT_READ | PROT_WRITE # sharing flags - 22 00 00 00 # MAP_PRIVATE | MAP_ANONYMOUS + 0x22/imm32 # MAP_PRIVATE | MAP_ANONYMOUS # fd - ff ff ff ff # -1 since MAP_ANONYMOUS is specified + -1/imm32 # since MAP_ANONYMOUS is specified # offset - 00 00 00 00 # 0 since MAP_ANONYMOUS is specified + 0/imm32 # since MAP_ANONYMOUS is specified # . . vim:nowrap:textwidth=0 -- cgit 1.4.1-2-gfad0 /mu/?h=hlt'>summary refs log tree commit diff stats
path: root/stats.txt
blob: f894adaec762492016c4b80e4b27dc562637363e (plain) (blame)
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