g++ -Wall -std=c++14 -DDEBUG -g3 -Wno-misleading-indentation -fno-ms-extensions" ...
clang++ -std=c++20 -O0 -g -fstandalone-debug -Wall -Wextra -Werror -pedantic
*.S
assembly code(raw x86 code)
-m32
compiles the code for the i386 architecture-S
invokes the compiler only-c
incokes the compiler and assembler only*.o
machine code or an object file
.**text
****contains executable code.**data
****usually contains initialized data.**bss
****usually reserves space for uninitialized variables2 Introduction to Object Modules
objdump -D *.o --syms
with symbol table
Detailed information about execuable: objdump -x -d map
The direction of the stack growing: https://www.geeksforgeeks.org/c-program-find-direction-growth-stack/