MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / call_security_check

Function call_security_check

contrib/devtools/test-security-check.py:22–26  ·  view source on GitHub ↗
(cc, source, executable, options)

Source from the content-addressed store, hash-verified

20 ''')
21
22def call_security_check(cc, source, executable, options):
23 subprocess.check_call([cc,source,'-o',executable] + options)
24 p = subprocess.Popen(['./security-check.py',executable], stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, universal_newlines=True)
25 (stdout, stderr) = p.communicate()
26 return (p.returncode, stdout.rstrip())
27
28class TestSecurityChecks(unittest.TestCase):
29 def test_ELF(self):

Callers 3

test_ELFMethod · 0.85
test_32bit_PEMethod · 0.85
test_64bit_PEMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected