J. Parker Mitchell

30 papers B 7C 1Journal 8Unranked 14
YearRankTypeTitle / Venue / Authors
2022 J jnl
Neuromorph. Comput. Eng.
Catherine D. Schuman, Robert M. Patton, Shruti R. Kulkarni, Maryam Parsa, Christopher G. Stahl, Nicholas Quentin Haas, J. Parker Mitchell, Shay Snyder, Amelie Nagle, Alexandra Shanafield, Thomas E. Potok
2022 J jnl
IEEE Trans. Control. Syst. Technol.
Bryan P. Maldonado, Brian C. Kaul, Catherine D. Schuman, Steven R. Young, J. Parker Mitchell
2022 J jnl
Nat. Comput. Sci.
Catherine D. Schuman, Shruti R. Kulkarni, Maryam Parsa, J. Parker Mitchell, Prasanna Date, Bill Kay
2022 J jnl
Nat. Comput. Sci.
Catherine D. Schuman, Shruti R. Kulkarni, Maryam Parsa, J. Parker Mitchell, Prasanna Date, Bill Kay
2021 B conf
IJCNN
Catherine D. Schuman, James S. Plank, Maryam Parsa, Shruti R. Kulkarni, Nicholas D. Skuda, J. Parker Mitchell
2021 conf
ICONS
Maryam Parsa, Catherine D. Schuman, Nitin Rathi, Amirkoushyar Ziabari, Derek C. Rose, J. Parker Mitchell, J. Travis Johnston, Bill Kay, Steven R. Young, Kaushik Roy
2021 J jnl
Neurocomputing
Shruti R. Kulkarni, Maryam Parsa, J. Parker Mitchell, Catherine D. Schuman
2021 conf
IRIACV
Kathy W. Hylton, J. Parker Mitchell, Blake Van Hoy, Thomas P. Karnowski
2021 conf
ICONS
J. Parker Mitchell, Catherine D. Schuman
2021 B conf
CEC
Maryam Parsa, Shruti R. Kulkarni, Mark Coletti, Jeffrey K. Bassett, J. Parker Mitchell, Catherine D. Schuman
2021 conf
ICONS
Robert M. Patton, Catherine D. Schuman, Shruti R. Kulkarni, Maryam Parsa, J. Parker Mitchell, Nicholas Quentin Haas, Christopher G. Stahl, Spencer Paulissen, Prasanna Date, Thomas E. Potok, Shay Sneider
2021 C conf
ACC
Bryan P. Maldonado, Brian C. Kaul, Catherine D. Schuman, Steven R. Young, J. Parker Mitchell
2021 J jnl
IEEE Control. Syst. Lett.
Bryan P. Maldonado, Brian C. Kaul, Catherine D. Schuman, Steven R. Young, J. Parker Mitchell
2021 conf
ICONS
Shruti R. Kulkarni, Maryam Parsa, J. Parker Mitchell, Catherine D. Schuman
2020 conf
ICONS
J. Parker Mitchell, Catherine D. Schuman, Thomas E. Potok
2020 B conf
IJCNN
Catherine D. Schuman, J. Parker Mitchell, Maryam Parsa, James S. Plank, Samuel D. Brown, Garrett S. Rose, Robert M. Patton, Thomas E. Potok
2020 conf
NICE
J. Parker Mitchell, Catherine D. Schuman, Robert M. Patton, Thomas E. Potok
2020 conf
NICE
Catherine D. Schuman, J. Parker Mitchell, Robert M. Patton, Thomas E. Potok, James S. Plank
2020 conf
SSCI
Daniel Elbrecht, Shruti R. Kulkarni, Maryam Parsa, J. Parker Mitchell, Catherine D. Schuman
2020 B conf
IJCNN
Jonathan D. Ambrose, Adam Z. Foshie, Mark E. Dean, James S. Plank, Garrett S. Rose, J. Parker Mitchell, Catherine D. Schuman, Grant Bruer
2020 B conf
IJCNN
Maryam Parsa, Catherine D. Schuman, Prasanna Date, Derek C. Rose, Bill Kay, J. Parker Mitchell, Steven R. Young, Ryan Dellana, William Severa, Thomas E. Potok, Kaushik Roy
2020 J jnl
CoRR
Maryam Parsa, Catherine D. Schuman, Prasanna Date, Derek C. Rose, Bill Kay, J. Parker Mitchell, Steven R. Young, Ryan Dellana, William Severa, Thomas E. Potok, Kaushik Roy
2020 conf
IGSC (Workshops)
Catherine D. Schuman, Steven R. Young, J. Parker Mitchell, J. Travis Johnston, Derek C. Rose, Bryan P. Maldonado, Brian C. Kaul
2020 J jnl
CoRR
Mihaela Dimovska, Travis Johnston, Catherine D. Schuman, J. Parker Mitchell, Thomas E. Potok
2020 B conf
IJCNN
Catherine D. Schuman, J. Parker Mitchell, J. Travis Johnston, Maryam Parsa, Bill Kay, Prasanna Date, Robert M. Patton
2020 B conf
IJCNN
Aaron R. Young, Adam Z. Foshie, Mark E. Dean, James S. Plank, Garrett S. Rose, J. Parker Mitchell, Catherine D. Schuman
2020 conf
SSCI
Daniel Elbrecht, Maryam Parsa, Shruti R. Kulkarni, J. Parker Mitchell, Catherine D. Schuman
2019 conf
IEEE BigData
Maryam Parsa, J. Parker Mitchell, Catherine D. Schuman, Robert M. Patton, Thomas E. Potok, Kaushik Roy
2019 conf
UEMCON
Mihaela Dimovska, Travis Johnston, Catherine D. Schuman, J. Parker Mitchell, Thomas E. Potok
2016 conf
MLHPC@SC
Catherine D. Schuman, Adam Disney, Susheela P. Singh, Grant Bruer, J. Parker Mitchell, Aleksander Klibisz, James S. Plank
tests/unit/test_decompile_arch.py
← Index tests/unit/test_decompile_arch.py python
"""Unit tests for architecture modules:
- bninja/arch/creator.py
- bninja/arch/x86.py
"""
import sys
import pytest

# Install binaryninja stubs before importing arch modules
from tests.unit.conftest_binja_stubs import install_binja_stubs
install_binja_stubs()

from redb.extractors.decompiler.bninja.arch.creator import ArchitectureCreator
from redb.extractors.decompiler.bninja.arch.x86 import Arch_x86


# ============================================================================
# 3a. ArchitectureCreator
# ============================================================================

class TestArchitectureCreator:
    def test_create_x86(self):
        arch = ArchitectureCreator("x86").get()
        assert isinstance(arch, Arch_x86)

    def test_create_x86_case_insensitive(self):
        for name in ["X86", "x86", "X86"]:
            arch = ArchitectureCreator(name).get()
            assert isinstance(arch, Arch_x86)

    def test_unsupported_arch_raises(self):
        with pytest.raises(ValueError, match="Unsupported architecture"):
            ArchitectureCreator("arm").get()


# ============================================================================
# 3b. Arch_x86
# ============================================================================

class TestArch_x86Registers:
    def setup_method(self):
        self.arch = Arch_x86()

    def test_is_register_valid(self):
        assert self.arch.is_register("RAX") is True
        assert self.arch.is_register("eax") is True
        assert self.arch.is_register("XMM0") is True

    def test_is_register_invalid(self):
        assert self.arch.is_register("INVALID_REG") is False

    def test_is_general_purpose_register(self):
        assert self.arch.is_general_purpose_register("RAX") is True
        assert self.arch.is_general_purpose_register("XMM0") is False

    def test_is_stack_register(self):
        assert self.arch.is_stack_register("RSP") is True
        assert self.arch.is_stack_register("RBP") is True
        assert self.arch.is_stack_register("RAX") is False

    def test_is_xmm_register(self):
        assert self.arch.is_xmm_register("XMM0") is True
        assert self.arch.is_xmm_register("RAX") is False


class TestArch_x86OpcodeCategories:
    def setup_method(self):
        self.arch = Arch_x86()

    def test_opcode_categories_populated(self):
        assert len(self.arch.opcode_categories) > 0

    def test_opcode_mov_category(self):
        assert self.arch.opcode_categories["MOV"] == "DATA_MOVEMENT"

    def test_opcode_call_category(self):
        assert self.arch.opcode_categories["CALL"] == "CONTROL_FLOW"

    def test_opcode_add_category(self):
        assert self.arch.opcode_categories["ADD"] == "ARITHMETIC"


class TestArch_x86ControlFlow:
    def setup_method(self):
        self.arch = Arch_x86()

    def test_is_control_flow_instruction_by_mnemonic(self):
        assert self.arch.is_control_flow_instruction_by_mnemonic("JMP") is True
        assert self.arch.is_control_flow_instruction_by_mnemonic("MOV") is False

    def test_is_control_flow_instruction_call(self):
        assert self.arch.is_control_flow_instruction_by_mnemonic("CALL") is True

    def test_is_control_flow_instruction_ret(self):
        assert self.arch.is_control_flow_instruction_by_mnemonic("RET") is True

    def test_is_control_flow_instruction_loop(self):
        assert self.arch.is_control_flow_instruction_by_mnemonic("LOOP") is True

    def test_is_control_flow_instruction_empty(self):
        assert self.arch.is_control_flow_instruction_by_mnemonic("") is False
        assert self.arch.is_control_flow_instruction_by_mnemonic(None) is False