We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当前的测试脚本是基于已测试的固件编写,但并不适用于所有固件; 测试的有效性和脚本的初始化也有关; 例如_cmdi.py中: sinks = ['system', '___system', 'bstar_system', 'popen', 'doSystemCmd', 'doShell', 'twsystem', 'CsteSystem', 'cgi_deal_popen', 'ExeCmd', 'ExecShell', 'exec_shell_popen', 'exec_shell_popen_str' ] 如果测试对象并不包含这些函数,那么测试效果可以想象(所以需要根据实际情况完善脚本); 再比如,ref2share.py中: heuristicMin = 4 sinks = ['nvram_safe_set', 'nvram_bufset', 'setenv'] digest = ['strcpy', 'sprintf', 'memcpy', 'strcat'] 同样的,测试对象中如果并不是通过nvram_safe_set与其他程序交互,那么测试结果必然为空;
不足之处请指正,实际测试中的问题也希望大家能多交流。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当前的测试脚本是基于已测试的固件编写,但并不适用于所有固件;
测试的有效性和脚本的初始化也有关;
例如_cmdi.py中:
sinks = ['system', '___system', 'bstar_system', 'popen',
'doSystemCmd', 'doShell', 'twsystem', 'CsteSystem', 'cgi_deal_popen',
'ExeCmd', 'ExecShell', 'exec_shell_popen', 'exec_shell_popen_str'
]
如果测试对象并不包含这些函数,那么测试效果可以想象(所以需要根据实际情况完善脚本);
再比如,ref2share.py中:
heuristicMin = 4
sinks = ['nvram_safe_set', 'nvram_bufset', 'setenv']
digest = ['strcpy', 'sprintf', 'memcpy', 'strcat']
同样的,测试对象中如果并不是通过nvram_safe_set与其他程序交互,那么测试结果必然为空;
不足之处请指正,实际测试中的问题也希望大家能多交流。
The text was updated successfully, but these errors were encountered: