随笔分类 - AspectC
摘要:this->kind 操作类型this->targetName 被调用函数名称this->funcName 调用函数名称this->argsCount 参数个数this->argType(i) 获取编号为i的参数类型this->arg(i) 获取编号为i的参数类型this->retType 返回值类...
阅读全文
摘要:例子:malPro.acc文件: #include size_t totalMemoryAllocated; int totalAllocationFuncCalled; int totalFreeFuncCalled...
阅读全文
摘要: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...
阅读全文
摘要:The checking logic would be refactored into an aspect file, as follows:after(void * s) : (call($ malloc(...)) || call($ calloc(...)) || call($ realloc...
阅读全文
摘要:int around(): execution(int main(...))
阅读全文

浙公网安备 33010602011771号