通过函数指针地址找到函数
# 通过地址找到函数声明 info symbol 0x7f0db14cf57e # 通过地址找到函数在哪一行 info line *0x7f0db14cf57e # 查看加载了哪些共享库 info sharedlibrary 参考 16 Examining the Symbol Table
# 通过地址找到函数声明 info symbol 0x7f0db14cf57e # 通过地址找到函数在哪一行 info line *0x7f0db14cf57e # 查看加载了哪些共享库 info sharedlibrary 参考 16 Examining the Symbol Table
写给大家看的设计模式 图解TensorFlow源码 1. 抽象工厂模式 被创建抽象类 Iuser; 抽象工厂类 IFactory,定义创建接口 IUser* createUser()。 当需要新增被创建类型时,需要新增被创建类型及对应工厂类型; // 代表数据库中User表中的一条记录 class RecUser { int32_t uid; std::...
vscode启动python与C++混合调试时,gdb需要管理员权限。 Remote attach using non-root account would fail directly 1. 取消限制 sudo sysctl -w kernel.yama.ptrace_scope=0 2. 取消限制,永久有效 设置pkexec的权限。新建文件,并重启Ubuntu系统: # /us...
1. oneTBB Intel并行库 oneTBB. 包含tbb malloc. 2. 高性能 json 库 glaze 3. 100行头文件代码实现的线程池 ThreadPool 4. 事件驱动 Sigslot Signals eventpp 5. 学习资料 MoreEffectiveC++笔记 现代CPU性能分析与优化 – CPU架构,性能分析...
1. C++ 学习资源 Fluent C++ Modern C++ foonathan::blog() C++ Stories Sutter’s Mill 这些资源帮助你深入学习C++ 2. C++ 代码片段 2.1. 获取数组长度 #include <type_traits> struct StructDef { int32_t ar...
文件名:.clang-tidy 部分检查项目中文解释:selfboot/ClangTidyChecks Checks: > -*, bugprone-*, -bugprone-easily-swappable-parameters, -bugprone-narrowing-conversions, -bugprone-exception-escape, cla...