MCPcopy
hub / github.com/volatilityfoundation/volatility3 / test_mac_check_syscall

Function test_mac_check_syscall

test/test_volatility.py:251–261  ·  view source on GitHub ↗
(image, volatility, python)

Source from the content-addressed store, hash-verified

249
250
251def test_mac_check_syscall(image, volatility, python):
252 rc, out, _err = runvol_plugin(
253 "mac.check_syscall.Check_syscall", image, volatility, python
254 )
255 out = out.lower()
256
257 assert out.find(b"chmod") != -1
258 assert out.find(b"chown") != -1
259 assert out.find(b"nosys") != -1
260 assert out.count(b"\n") > 100
261 assert rc == 0
262
263
264def test_mac_check_sysctl(image, volatility, python):

Callers

nothing calls this directly

Calls 3

runvol_pluginFunction · 0.85
countMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected