add little prog for lec7
This commit is contained in:
19
related_info/lec7-8/Makefile
Normal file
19
related_info/lec7-8/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
all: lec7_1.c
|
||||
@echo "====================================="
|
||||
@echo "compile and analysis lec7_1"
|
||||
@echo "====================================="
|
||||
gcc -g -o lec7_1 lec7_1.c
|
||||
@echo "====================================="
|
||||
@echo "using objdump to decompile lec7_1"
|
||||
@echo "====================================="
|
||||
objdump -S lec7_1
|
||||
@echo "====================================="
|
||||
@echo "using readelf to analyze lec7_1"
|
||||
@echo "====================================="
|
||||
readelf -a lec7_1
|
||||
@echo "====================================="
|
||||
@echo "using nm to analyze lec7_1"
|
||||
@echo "====================================="
|
||||
nm lec7_1
|
||||
clean:
|
||||
rm ./lec7_1
|
||||
Reference in New Issue
Block a user