- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 stub + gtest + gmock markdown格式
[中文](README_zh.md)|[English](README.md)# 原理介绍## 两个核心点- 如何获取原函数的地址(**addr_pri.h**、**addr_any.h**)- 如何用桩函数替换原函数(**stub.h**)## 一些说明- stub.h(适合 windows, linux) 基于C++98开发; 使用 inline hook 技术; 主要解决函数替换问题 (相关参考:[stub](https://github.com/3gguan/stub.git))
2021-09-10 10:38:19
2023
原创 asn1安装小记
流程:git clone https://github.com/vlm/asn1c.gittest -f configure || autoreconf -ivsudo ./configuresudo makemake install问题1:config.status: error: cannot find input file: `tests/tests-c-compiler/check-src/Makefile.in'解决方案:1.安装libtool autoconf
2021-08-31 19:34:03
411
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人