示例#1
0
def syscalls():
    analyzer = DynamicAnalyzer(None)
    location = os.path.dirname(__file__)
    behav_file = f'{location}/behav.out'
    analyzer._analyze_behavior(behav_file)
    return analyzer._syscalls
def test_run_analysis(analysis):
    sample_path = f'{location}/../binaries/testbin-puts-arm'
    sample = AnalyzedFile(sample_path, '/tmp')
    analyzer = DynamicAnalyzer(sample)
    analyzer.run_analysis()
    analysis['output'] = analyzer.output