foo: lui $2,%hi(%neg(%gp_rel(foo))) sub $sp,$sp,28 .space 16
elf 源代码
探索ELF(Executable and Linkable Format)技术,掌握现代操作系统中程序编译与链接的核心。ELF文件格式广泛应用于Linux、Unix及嵌套系统,是软件开发和逆向工程不可或缺的知识点。本页面汇集了71个精选资源,从基础概念到高级应用,全面覆盖ELF的…
.data .type x,@object .size x,4 x: .word 0x12121212 .globl b .type b,@object .size b,8 b: .word b+4 .word x .word 0
.sdata .align 2 .type w1,@object .size w1,4 w1: .word 1 .type w2,@object .size w2,4 w2: .word 2 .type w3,@object .size w3,4…
#as: -march=mips2 -mabi=32 #objdump: -M gpr-names=numeric -dr #name: MIPS ELF reloc 8 .*: file format .* Disassembly of sect…
.sdata .global foo .globl bar foo: .byte 1 .byte 2 bar: .byte 3 .byte 4 .text .set mips16 .global f .ent f f: lb $2,%gpr…
#readelf: --relocs #as: -mabi=n32 -KPIC Relocation section '\.rela\.text' at offset .* contains 4 entries: Offset Info Ty…
.global frob .section .barsec,"aM",@progbits,8 .word 0,1 bar: .word 2,3 frob: .word 4,5 .text foo: lw $4,bar lw $4,bar+4 lw $…
#objdump: -dr #as: -mabi=n32 -mips3 -xgot -KPIC .*: file format .* Disassembly of section \.text: 00000000 : \.\.\. .*: 8f…
.rept 0x3b4 nop .endr jal foo jal foo
#as: -march=mips3 -mabi=n32 -KPIC #readelf: --relocs #name: MIPS ELF reloc 10 Relocation section '\.rela\.text' at offset .* cont…