summaryrefslogtreecommitdiff
path: root/sample.elf.lua
blob: d37a7c58edff871c8ee005e386d6b740e3e1a654 (plain)
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
header {
    class = Class.bit64,
    data = Endian.big,
    type = Type.exec,
    machine = Machine.i386,
}

segments {
    {
        type = SegmentType.dynamic,
        flags = SegmentFlags.x,
        offset = 0xf,
        vaddr = 0xff,
        paddr = 0xfff,
        filesz = 0xffff,
        memsz = 0xfffff,
        align = 1,
    },
    {
        type = SegmentType.dynamic,
        flags = SegmentFlags.r,
        offset = 0xa,
        vaddr = 0xaa,
        paddr = 0xaaa,
        filesz = 0xaaaa,
        memsz = 0xaaaaa,
        align = 1,
    },
}

sections {
    {},
    {},
}