-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (63 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[build-system]
requires = ["setuptools==82.0.1"]
build-backend = "setuptools.build_meta"
[project]
name = "tocode-cli"
version = "0.1.0"
description = "Export compiled binaries as source-like projects for reverse engineering agents."
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"droidasc==0.1.1.post1",
"ida-domain==0.5.0",
"idapro==0.0.9",
"r2pipe==1.9.8",
"rpyc==6.0.2",
"tqdm==4.67.3",
]
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Topic :: Security",
"Topic :: Software Development :: Disassemblers",
]
[project.scripts]
tocode = "tocode.cli:main"
[project.optional-dependencies]
dev = [
"pytest==8.4.2",
]
angr = [
"angr>=9.2",
]
# The Binary Ninja backend's headless client (rpyc) is a core runtime dependency
# above so `tocode --backend binja` works out of the box. The binaryninja module
# itself is provided by the Binary Ninja install (in-UI) or the remote VM via
# binja-headless, so it is intentionally not a pip dependency.
# angr is an optional backend dependency, so it may be absent from the type
# checking environment. Ignore its missing stubs/imports rather than failing.
[[tool.mypy.overrides]]
module = ["angr.*"]
ignore_missing_imports = true
# pyelftools (elftools) ships with the angr extra via cle, so it is likewise
# absent from the type checking environment. Ignore its missing imports.
[[tool.mypy.overrides]]
module = ["elftools.*"]
ignore_missing_imports = true
# binaryninja is supplied by the Binary Ninja install, so it is absent from the
# type checking environment. Ignore its missing imports.
[[tool.mypy.overrides]]
module = ["binaryninja.*"]
ignore_missing_imports = true
# droidasc (ASC, the APK backend) and androguard ship no type stubs.
[[tool.mypy.overrides]]
module = ["droidasc.*", "androguard.*"]
ignore_missing_imports = true
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]