来看一个 c++ 程序片段 12 int (int i) { return 0; } 编译 1 gcc test.cpp -o test.o 查看 f 的 low-level assembler 名称(name mangling), 123 nm test.o | grep f// 输出// 000000000000008b T _Z4fi 逆过程为 123 c++filt -n _Z4fi// 输出// f(int) 赞微海报分享
近期评论