Source code for libdebug.architectures.amd64.amd64_registers

#
# This file is part of libdebug Python library (https://github.com/libdebug/libdebug).
# Copyright (c) 2024 Gabriele Digregorio. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for details.
#

from __future__ import annotations

from dataclasses import dataclass

from libdebug.data.registers import Registers
from libdebug.debugger.internal_debugger_instance_manager import get_global_internal_debugger


[docs] @dataclass class Amd64Registers(Registers): """This class holds the state of the architectural-dependent registers of a process.""" def __init__(self: Amd64Registers) -> None: """Initializes the Registers object.""" self._internal_debugger = get_global_internal_debugger()