63b6228d00
fix(detect): not necessarily starts with b"PY"
2025-11-20 15:49:20 +08:00
d4837f0e08
release v0.2.2
v0.2.2
2025-11-19 08:57:05 +08:00
2b0aae7911
fix(pycdc): for Pyarmor generated NOP; JUMP_FORWARD sequences, if destination is a LOAD_CONST '__pyarmor_exit_N__', then change JUMP_FORWARD to RETURN_VALUE
2025-11-18 23:18:32 +08:00
435abd9ff5
fix(pycdc): don't skip 1 instruction right after RETURN_VALUE
2025-11-18 22:59:34 +08:00
aadaadc300
feat: support "pyarmor-1shot.elf" and "pyarmor-1shot.macho"
2025-11-18 17:32:53 +08:00
71c3307e63
Reapply "feat: add unit buffer option"
...
This reverts commit 08da357e966727b96274f3442646734d7df1f6ea.
2025-11-18 03:30:25 +08:00
766647f40b
feat: add no banner option
2025-11-18 03:29:59 +08:00
23f64a6765
ci: regression test
2025-11-18 03:28:02 +08:00
896d004baf
Merge https://github.com/greenozon/pycdc/tree/py314 (zrax/pycdc#566)
2025-11-14 04:29:40 +08:00
9bdf74aea5
chore: todo
2025-11-14 04:06:32 +08:00
e52a943769
feat: pyarmor_runtime preprocess (gh-29)
2025-11-04 22:56:03 +08:00
10a3c24fac
refactor: add path handling (gh-29), detect encodings, format py scripts
2025-10-29 18:50:31 +08:00
8c46b62352
opt: head msg
v0.2.1
2025-10-12 21:11:19 +08:00
d0d3f74733
feat: default runtime (000000)
2025-10-12 20:42:39 +08:00
ec8581104d
release v0.2.1
2025-10-12 20:13:49 +08:00
236233bb17
fix: keep bcc callsite args
2025-10-12 19:48:36 +08:00
ae82712c59
feat: prompt & version output; note for ctf challenge makers
2025-10-12 15:37:07 +08:00
9a62615ccd
fix: bcc on windows is elf, ignore extra flag 0x20
2025-09-24 22:47:14 +08:00
e892da34cf
fix: check output_dir is dir
2025-09-19 20:02:24 +08:00
146cd01f35
fix: opcode stores for PyarmorAssert bytes type 4
2025-09-13 16:25:46 +08:00
4f629a9091
chore: directory structure
v0.2.0
2025-09-13 14:39:22 +08:00
7b4bd2c68f
fix: suppress co extra bcc flag warning
2025-09-13 14:06:42 +08:00
3254e3b70c
fix: PyarmorAssert bytes marshal type as new module
2025-09-13 13:52:44 +08:00
747ed7cf50
feat: extract bcc native part
2025-09-13 12:34:02 +08:00
eca034ca45
wip: cleanup: don't fallback on bcc, remove menu
2025-09-12 18:34:33 +08:00
490f6afae7
Merge branch 'upstream-pycdc'
2025-09-12 17:39:49 +08:00
08f4971817
feat: PyarmorAssert bytes type 4 (gh-23)
2025-09-12 17:21:24 +08:00
Michael Hansen
a05ddec0d8
Merge pull request #564 from whoami730/exceptions
...
Parse and display exception table
2025-08-30 10:02:14 -07:00
Sahil Jain
d8c6fdf711
Address comments
2025-08-30 20:01:32 +05:30
Michael Hansen
577720302e
Add basic protection aginst circular references in pycdas and pycdc.
...
This fixes the last case of fuzzer errors detected by #572.
2025-08-28 16:42:03 -07:00
Michael Hansen
38799f5cfb
Also check EOF in getBuffer()
2025-08-28 15:58:28 -07:00
Michael Hansen
0e7be40367
Add some extra guards against null dereference and empty std::stack pops
...
Fixes segfault cases of #572
2025-08-28 15:36:35 -07:00
Michael Hansen
ff0c1450b4
Abort immediately when attempting to read past end of stream.
...
No consumers of readByte() were actually checking for EOF, so they would
all keep re-reading the same byte over and over again, potentially until the
process runs out of memory (ref #572).
2025-08-28 15:14:55 -07:00
Alex
1d1237228a
Add missed python 3.14 cpp module
2025-07-27 14:46:12 +03:00
Alex
97e49d644f
Initial support for Python 3.14
2025-07-27 14:29:01 +03:00
Sahil Jain
e8e10f1419
Parse exception table
2025-07-15 22:47:02 +05:30
2011b828db
Merge branch 'upstream-pycdc'
2025-07-15 00:01:41 +08:00
Michael Hansen
a267bfb47f
Merge pull request #561 from whoami730/bug-fix
...
Fix bug in RAISE_VARARGS
2025-07-04 12:41:02 -07:00
Sahil Jain
8b0ea9450e
Fix RAISE_VARARGS bug
2025-07-04 19:16:04 +05:30
d4f057d91c
Merge branch 'upstream-pycdc'
2025-07-03 14:02:08 +08:00
Michael Hansen
7d2039d24e
Merge pull request #557 from whoami730/new-opcodes
...
Support py 3.12 opcodes: part 2
2025-07-02 07:58:23 -07:00
Michael Hansen
e64ea4bdec
Merge branch 'master' into new-opcodes
2025-07-02 07:56:28 -07:00
Michael Hansen
4badfa6321
Merge pull request #555 from whoami730/master
...
Support py 3.12 opcodes: part 1
2025-07-02 07:51:36 -07:00
Sahil Jain
6e0089e01c
Update
2025-07-01 22:52:59 +05:30
Sahil Jain
3afcfbc6a7
Fix compilation error
2025-07-01 14:01:05 +05:30
Sahil Jain
aa292c7682
Add newlines
2025-07-01 09:27:07 +05:30
Sahil Jain
5fe61462a2
Support COPY opcde
2025-07-01 09:25:49 +05:30
Sahil Jain
ad5f39db56
Support SLICE opcodes
2025-07-01 09:24:53 +05:30
Sahil Jain
97ec04789d
Add JUMP_BACKWARD + CACHE comments
2025-07-01 09:22:57 +05:30
Sahil Jain
6dae4e801f
Remove COPY opcode
2025-07-01 09:22:57 +05:30