
MISC
文章平均质量分 58
Corsair_cxs
惟精惟一
展开
-
Finding memory bugs with AddressSanitizer
AddressSanitizer (ASan) is an instrumentation tool created by Google security researchers to identify memory access problems in C and C++ programs. When the source code of a C/C++ application is compiled with AddressSanitizer enabled, the program will be转载 2022-04-28 21:45:58 · 370 阅读 · 0 评论 -
定时打印进程信息shell脚本
定时打印进程信息脚本 #!/bin/sh #输入参数 NAME=$1 echo $NAME #参数检查 if [ "" = "$1" ] ;then echo "NO PARAM! ERR!!!" else ID=`ps -ef | grep "./$NAME" | grep -v "$0" | grep -v "grep" | awk '{print $1}'` #获取ID echo $NAME "ID: " $ID if [ "" = "$ID" ]原创 2022-04-28 10:30:23 · 847 阅读 · 0 评论