Skip to content

Commit

Permalink
Merge pull request #68 from KVM-VMI/use_libvmi_python
Browse files Browse the repository at this point in the history
Use libvmi python
  • Loading branch information
Wenzel committed Jun 27, 2018
2 parents 60a87dd + 4c252da commit 386629c
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 1,465 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@
from pprint import pprint

import libvirt
from libvmi import LibvmiError
from docopt import docopt

from nitro.nitro import Nitro
from nitro.libvmi import LibvmiError



def init_logger():
logger = logging.getLogger()
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.INFO)
logger.setLevel(logging.DEBUG)


class NitroRunner:
Expand Down
2 changes: 1 addition & 1 deletion nitro/backends/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from collections import defaultdict

from nitro.event import SyscallDirection
from nitro.libvmi import LibvmiError
from libvmi import LibvmiError

class Backend:
"""
Expand Down
2 changes: 1 addition & 1 deletion nitro/backends/factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from nitro.libvmi import VMIOS, Libvmi
from libvmi import VMIOS, Libvmi
from nitro.backends.linux import LinuxBackend
from nitro.backends.windows import WindowsBackend

Expand Down
2 changes: 1 addition & 1 deletion nitro/backends/linux/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

from ctypes import sizeof, c_void_p

from libvmi import LibvmiError
from nitro.syscall import Syscall
from nitro.event import SyscallDirection
from nitro.libvmi import LibvmiError
from nitro.backends.linux.process import LinuxProcess
from nitro.backends.backend import Backend
from nitro.backends.linux.arguments import LinuxArgumentMap
Expand Down
5 changes: 0 additions & 5 deletions nitro/libvmi/__init__.py

This file was deleted.

44 changes: 0 additions & 44 deletions nitro/libvmi/glib_build.py

This file was deleted.

Loading

0 comments on commit 386629c

Please sign in to comment.