# Path: nitro/event.py
# class SyscallType(Enum):
#     """System call mechanism"""
#     sysenter = 0
#     syscall = 1


import struct
from enum import Enum
from nitro.event import SyscallType


class SyscallArgumentType(Enum):
    register = 0
    memory = 1


class ArgumentMap:
    """
    ``ArgumentMap`` is a base class for providing access to system call arguments.
    """

    ARG_SIZE = {
        SyscallType.syscall: 'P',   # x64 -> 8 bytes

# Path: nitro/event.py
# class SyscallType(Enum):
#     """System call mechanism"""
#     sysenter = 0
#     syscall = 1


# Path: nitro/backends/arguments.py
import struct
from enum import Enum
from nitro.event import SyscallType



class SyscallArgumentType(Enum):
    register = 0
    memory = 1


class ArgumentMap:
    """
    ``ArgumentMap`` is a base class for providing access to system call arguments.
    """

    ARG_SIZE = {
        SyscallType.syscall: 'P',   # x64 -> 8 bytes

        SyscallType.sysenter: 'I'   # x32 -> 4 bytes