afl_sancov.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:orthrus 作者: test-pipeline 项目源码 文件源码
def does_dry_run_throw_error(self, cmd):

        env = os.environ.copy()
        if self.sanitizer == 'asan':
            spectrum_asan_options(env)

        try:
            out = subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True, env=env)
        except Exception, e:
            # OR condition is bug fix for compute shell returning negative instead of positive code
            return (e.returncode > 128 or e.returncode < 0)

        return False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号