
汇编
随便写点
Wang_Tian_Ze
一直在路上
展开
-
Java查看汇编的一些参数指令
-server -XX:+UnlockDiagnosticVMOptions // 由于下面的参数属于诊断参数,所以在使用之前需要打开UnlockDiagnosticVMOptions参数-XX:+TraceClassLoading -XX:+PrintAssembly // 为字节码与本地方法打印汇编代码print assembly code for bytecoded and native methods-XX:+LogCompilation -XX:+DebugNonSafepoints原创 2020-06-17 18:13:39 · 303 阅读 · 0 评论 -
C语言汇编查看笔记(一)
#include <stdio.h>int sum(int x, int y){ int t = x + y; return t;}int main(void){ sum(1,2);}利用gcc -S test.c查看其汇编代码,我写了很多注释 .file "test1.c" .text .globl _sum .def _sum; .scl 2; .type 32; .endef_sum:LFB13: ;CFI全称是Call Frame Instrct原创 2020-06-16 01:09:13 · 432 阅读 · 0 评论