上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 1、查找find /home/guo/bin -name /*.txt | xargs grep 'jdbc'查找 /home/guo/bin 目录下所有后缀为.txt 的文件(PS:/* 转义* 为统配符),通过 xargs 命令传递给 grep 作为文件参数grep 'jdbc' 所搜显示文件中... 阅读全文
posted @ 2015-06-10 11:22 LittlePenguin 阅读(2627) 评论(0) 推荐(0)
摘要: 例子:malPro.acc文件: #include size_t totalMemoryAllocated; int totalAllocationFuncCalled; int totalFreeFuncCalled... 阅读全文
posted @ 2015-06-10 10:56 LittlePenguin 阅读(103) 评论(0) 推荐(0)
摘要: 1.method 1: use "acc">acc hello.acc world.mc gcc hello.c world.c >./a.out2.method 2: use"tacc">tacc foo.c fooac.acc>./a.out>tacc foo.c fooac.acc -o t... 阅读全文
posted @ 2015-06-09 16:21 LittlePenguin 阅读(221) 评论(0) 推荐(0)
摘要: The checking logic would be refactored into an aspect file, as follows:after(void * s) : (call($ malloc(...)) || call($ calloc(...)) || call($ realloc... 阅读全文
posted @ 2015-06-09 15:51 LittlePenguin 阅读(137) 评论(0) 推荐(0)
摘要: int around(): execution(int main(...)) 阅读全文
posted @ 2015-06-09 11:56 LittlePenguin 阅读(261) 评论(0) 推荐(0)
摘要: 常用命令:1.ag++ main.cc //在工程目录下产生编译后的exe2.ag++ main.cc --weave_only //产生.acc 纯c++文件3.ag++ main.cc --gen_config -v 9// config文件,与运行环境有关4.ag++ --help //帮助信... 阅读全文
posted @ 2015-06-04 20:28 LittlePenguin 阅读(418) 评论(0) 推荐(0)
摘要: WinExec("Cmd.exe /C md c://12", SW_HIDE);注释:/c是什么意思,不用/C会报错CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF] [[/S] [/C | /K] ... 阅读全文
posted @ 2015-05-11 18:36 LittlePenguin 阅读(1008) 评论(0) 推荐(0)
摘要: 程序当前目录下.如果是在VC里面运行的,这个目录是工程的目录.如果是双击exe运行的,这个目录就是exe所在的目录. 阅读全文
posted @ 2015-05-08 20:34 LittlePenguin 阅读(884) 评论(0) 推荐(0)
摘要: MD5保存摘要及指纹信息md5的用处:1.保存用户密码2.校验数据的完整性 阅读全文
posted @ 2015-03-30 19:12 LittlePenguin 阅读(491) 评论(0) 推荐(0)
摘要: 1.Request域程序产生数据,显示完了就没用了,就用这个域。2.Session域程序产生数据,出了显示用,待会还要用,就用这个域。3.ServletContext域程序产生数据,数据显示完了,不仅待会用,还要提供给别人用,就用这个域。 阅读全文
posted @ 2015-03-30 19:10 LittlePenguin 阅读(377) 评论(0) 推荐(1)
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页