Displaying 3 results from an estimated 3 matches for "__image_base".
Did you mean:
  __image_base__
  
2017 Jun 06
4
LLD support for ld64 mach-o linker synthesised symbols
...here are 4 special symbol prefixes for the mach-o linker synthesised symbols:
- segment$start$__SEGMENT
- segment$end$__SEGMENT
- section$start$__SEGMENT$__section
- section$end$__SEGMENT$__section
In asm:
/* get imagebase and slide for static PIE and ASLR support in x86_64-xnu-musl */
.align 3
__image_base:
.quad segment$start$__TEXT
__start_static:
.quad start
.text
.align 3
.global start
start:
       xor %rbp,%rbp
       mov %rsp,%rdi
       andq $-16,%rsp
       movq __image_base(%rip), %rsi
       leaq start(%rip), %rdx
       subq __start_static(%rip), %rdx
       call __start_c
In C:
/* run...
2017 Jun 06
2
LLD support for ld64 mach-o linker synthesised symbols
...thesised symbols:
> 
> - segment$start$__SEGMENT
> - segment$end$__SEGMENT
> - section$start$__SEGMENT$__section
> - section$end$__SEGMENT$__section
> 
> In asm:
> 
> /* get imagebase and slide for static PIE and ASLR support in x86_64-xnu-musl */
> 
> .align 3
> __image_base:
> .quad segment$start$__TEXT
> __start_static:
> .quad start
> .text
> .align 3
> .global start
> start:
>        xor %rbp,%rbp
>        mov %rsp,%rdi
>        andq $-16,%rsp
>        movq __image_base(%rip), %rsi
>        leaq start(%rip), %rdx
>        subq...
2017 Jun 07
3
LLD support for ld64 mach-o linker synthesised symbols
..._SEGMENT
>> - segment$end$__SEGMENT
>> - section$start$__SEGMENT$__section
>> - section$end$__SEGMENT$__section
>>
>> In asm:
>>
>> /* get imagebase and slide for static PIE and ASLR support in
>> x86_64-xnu-musl */
>>
>> .align 3
>> __image_base:
>> .quad segment$start$__TEXT
>> __start_static:
>> .quad start
>> .text
>> .align 3
>> .global start
>> start:
>>        xor %rbp,%rbp
>>        mov %rsp,%rdi
>>        andq $-16,%rsp
>>        movq __image_base(%rip), %rsi
>>...