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

Function test_mac_lsmod

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

Source from the content-addressed store, hash-verified

294
295
296def test_mac_lsmod(image, volatility, python):
297 rc, out, _err = runvol_plugin("mac.lsmod.Lsmod", image, volatility, python)
298 out = out.lower()
299
300 assert out.find(b"com.apple") != -1
301 assert out.count(b"\n") > 10
302 assert rc == 0
303
304
305def test_mac_lsof(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