上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 1). 查看依赖项:objdump -x xxx.so | grep "NEEDED" 。 2). 查看动态符号表: objdump -T xxx.so 。假如想知道 xxx.so 中是否导出了符号 yyy ,那么命令为 objdump -T xxx.so | grep "yyy" 3). 查看符号 阅读全文
posted @ 2021-06-01 11:05 Lunais 阅读(2328) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 import os,shutil 3 #设定文件路径 4 path = 'D:\\lunais' 5 6 #对目录下的文件进行遍历 7 for file in os.listdir(path): 8 if os.path.isfile(os.p 阅读全文
posted @ 2021-04-07 15:40 Lunais 阅读(121) 评论(0) 推荐(0) 编辑
摘要: <regex.h>不是标准的C语言库函数,目前只能在linux中使用。 相关结构体: /* Type for byte offsets within the string. POSIX mandates this. */ typedef int regoff_t; typedef struct { 阅读全文
posted @ 2021-03-25 14:23 Lunais 阅读(539) 评论(0) 推荐(0) 编辑
摘要: sudo kill -9 `ps -ef|grep eclipse|awk '{print $2}'` 阅读全文
posted @ 2021-01-14 15:01 Lunais 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 整型提升是C语言的一种规则,由C语言的发明人丹尼斯·里奇与肯·汤普逊创设: "A character, a short integer, or an integer bit-field, all either signed or not, or an object of enumeration ty 阅读全文
posted @ 2021-01-05 17:17 Lunais 阅读(196) 评论(0) 推荐(0) 编辑
摘要: re.match函数 re.match 尝试从字符串的起始位置匹配一个模式,如果不是起始位置匹配成功的话,match()就返回none。 函数语法: re.match(pattern, string, flags=0) 函数参数说明: 参数描述 pattern 匹配的正则表达式 string 要匹配 阅读全文
posted @ 2020-10-01 11:21 Lunais 阅读(554) 评论(0) 推荐(0) 编辑
摘要: https://man7.org/linux/man-pages/man3/backtrace.3.html 1 #include <stdio.h> 2 #include <string.h> 3 #include <stdint.h> 4 #include <stdlib.h> 5 #inclu 阅读全文
posted @ 2020-09-09 16:28 Lunais 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 一.脚本下载 init.sh #!/bin/bash cd code for dir in $(ls) do cd $dir git config --local receive.denycurrentbranch ignore echo $dir cd .. done gitShare.sh #! 阅读全文
posted @ 2020-03-26 21:34 Lunais 阅读(163) 评论(0) 推荐(0) 编辑
摘要: git本地共享的时候,客户端可以用。 1. git log //找到commit的版本号 2.git reset --hard <版本号> //撤回到需要的版本 3.git push --force //强制覆盖之前提交的版本 阅读全文
posted @ 2020-03-26 21:25 Lunais 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://blog.csdn.net/u012515915/article/details/46942745 原文:C++ unit test start guide, how to set up Google Test (gtest) in Eclipse? 原文链接:http:// 阅读全文
posted @ 2019-12-28 16:47 Lunais 阅读(590) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页