From bac8a5d2822835cf47175d1162030653fadd5c09 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 15 Feb 2024 23:29:57 +0000 Subject: deploy: 4485708c972815bbb6df7f5a228683aa855d553d --- arch/arm64.html | 6 +- arch/armv7.html | 6 +- arch/riscv.html | 6 +- arch/x86_64.html | 12 +- binary/objdump.html | 2 +- development/c++.html | 82 +++---- development/cmake.html | 2 +- development/gcc.html | 6 +- development/gcov.html | 8 +- development/ld.so.html | 4 +- development/make.html | 12 +- development/pgo.html | 6 +- development/python.html | 24 +- development/symbolver.html | 44 ++-- linux/acl.html | 16 +- linux/coredump.html | 2 +- linux/input.html | 14 +- linux/swap.html | 2 +- linux/systemd.html | 2 +- network/firewall-cmd.html | 4 +- network/tshark.html | 2 +- print.html | 577 ++++++++++++++++++++++++--------------------- searcher.js | 2 +- searchindex.js | 2 +- searchindex.json | 2 +- tools/awk.html | 22 +- tools/bash.html | 47 ++-- tools/dot.html | 4 +- tools/ffmpeg.html | 4 +- tools/fish.html | 34 +-- tools/gdb.html | 2 +- tools/git.html | 2 +- tools/gnuplot.html | 40 ++-- tools/pacman.html | 2 +- tools/qemu.html | 8 +- tools/radare2.html | 2 +- tools/sed.html | 22 ++ tools/tmux.html | 2 +- tools/zsh.html | 38 +-- trace_profile/perf.html | 4 +- web/chartjs.html | 12 +- web/css.html | 18 +- web/html.html | 52 ++-- 43 files changed, 619 insertions(+), 541 deletions(-) diff --git a/arch/arm64.html b/arch/arm64.html index ccf8252..36b8710 100644 --- a/arch/arm64.html +++ b/arch/arm64.html @@ -355,7 +355,7 @@ ret .arch armv8-a - .section .text, "ax", @progbits + .section .text, "ax", @progbits .balign 4 // align code on 4byte boundary .global _start _start: @@ -371,9 +371,9 @@ _start: svc 0 .balign 8 // align data on 8byte boundary - .section .rodata, "a", @progbits + .section .rodata, "a", @progbits greeting: - .asciz "Hi ASM-World!\n" + .asciz "Hi ASM-World!\n" greeting_len: .int .-greeting diff --git a/arch/armv7.html b/arch/armv7.html index eeecc8b..0ecd684 100644 --- a/arch/armv7.html +++ b/arch/armv7.html @@ -361,7 +361,7 @@ mov fp, sp // FP points to frame record .arch armv7-a - .section .text, "ax" + .section .text, "ax" .balign 4 // Emit `arm` instructions, same as `.arm` directive. @@ -390,9 +390,9 @@ _do_greet: bx lr .balign 8 // align data on 8byte boundary - .section .rodata, "a" + .section .rodata, "a" greeting: - .asciz "Hi ASM-World!\n" + .asciz "Hi ASM-World!\n" greeting_len: .int .-greeting diff --git a/arch/riscv.html b/arch/riscv.html index 2e92aa5..aad6df6 100644 --- a/arch/riscv.html +++ b/arch/riscv.html @@ -212,7 +212,7 @@ x28-x31 t3-t6 temp regs #include <asm/unistd.h> // syscall NRs - .section .text, "ax", @progbits + .section .text, "ax", @progbits .balign 4 // align code on 4byte boundary .global _start _start: @@ -227,9 +227,9 @@ _start: ecall .balign 8 // align data on 8byte boundary - .section .rodata, "a", @progbits + .section .rodata, "a", @progbits greeting: - .asciz "Hi ASM-World!\n" + .asciz "Hi ASM-World!\n" greeting_len: .int .-greeting diff --git a/arch/x86_64.html b/arch/x86_64.html index 848de4f..210e8a4 100644 --- a/arch/x86_64.html +++ b/arch/x86_64.html @@ -250,7 +250,7 @@ mov rax, qword ptr [rbx+4*rcx] // load val at [rbx+4*rcx] into rax
lea rax, [rip+.my_str]       // load addr of .my_str into rax
 ...
 .my_str:
-.asciz "Foo"
+.asciz "Foo"
 

Load effective address:

mov rax, 2
@@ -300,7 +300,7 @@ mov al, 0xaa
 mov cx, 0x10
 rep stosb
 
-

SysV x86_64 ABI

+

SysV x86_64 ABI

Passing arguments to functions