|
我是新手,最近毕业设计需要我了解内存检测的技术原理,我这里有相关函数名,可我不明白是什么意思,想请教高手能帮我详细解释下每个函数的功能,和具体实现方法,越详细越好。谢谢!
这是函数定义:
int test_or_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_and_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_seqinc_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_solidbits_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_blockseq_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_checkerboard_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_bitspread_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_bitflip_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_walkbits1_comparison(ulv *bufa, ulv *bufb, size_t count);
int test_walkbits0_comparison(ulv *bufa, ulv *bufb, size_t count);
下面是描述:
{ "Random Value", test_random_value },
{ "Compare XOR", test_xor_comparison },
{ "Compare SUB", test_sub_comparison },
{ "Compare MUL", test_mul_comparison },
{ "Compare DIV",test_div_comparison },
{ "Compare OR", test_or_comparison },
{ "Compare AND", test_and_comparison },
{ "Sequential Increment", test_seqinc_comparison },
{ "Solid Bits", test_solidbits_comparison },
{ "Block Sequential", test_blockseq_comparison },
{ "Checkerboard", test_checkerboard_comparison },
{ "Bit Spread", test_bitspread_comparison },
{ "Bit Flip", test_bitflip_comparison },
{ "Walking Ones", test_walkbits1_comparison },
{ "Walking Zeroes", test_walkbits0_comparison },
{ NULL, NULL }
我是新手,也不怎么会搜索,还请高手不吝指教,谢谢!
|
|