mirror of
https://github.com/angr/angr
synced 2026-08-17 12:23:11 -04:00
* Enable ruff isort rule * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
23 lines
684 B
Python
Executable file
23 lines
684 B
Python
Executable file
#!/usr/bin/env python3
|
|
# pylint: disable=missing-class-docstring,no-self-use,line-too-long
|
|
from __future__ import annotations
|
|
|
|
__package__ = __package__ or "tests.sim.exec_insn" # pylint:disable=redefined-builtin
|
|
|
|
import os
|
|
from unittest import TestCase, main
|
|
|
|
import angr
|
|
from tests.common import bin_location, run_simple_unicorn_congruency_check
|
|
|
|
|
|
class TestSignedDiv(TestCase): # pylint:disable=missing-class-docstring
|
|
def test_signed_div(self):
|
|
test_bin = os.path.join(bin_location, "tests", "x86_64", "test_signed_div")
|
|
b = angr.Project(test_bin, auto_load_libs=False)
|
|
|
|
run_simple_unicorn_congruency_check(b)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|