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>
17 lines
381 B
Python
17 lines
381 B
Python
# pylint: disable=no-self-use,missing-class-docstring
|
|
from __future__ import annotations
|
|
|
|
import unittest
|
|
|
|
import angr
|
|
|
|
|
|
class TestLoadShellcode(unittest.TestCase):
|
|
def test_simos(self):
|
|
for os in "windows", "linux":
|
|
p = angr.load_shellcode(b"\xc3", arch="x86", simos=os)
|
|
p.factory.entry_state()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|