Commit Graph

345 Commits

Author SHA1 Message Date
Josh Wiedemeier fb400cd0e4 bump 3.14 model versions 2026-01-16 10:24:48 -06:00
Josh Wiedemeier ad8cb2d9ca better support for inlining new generics 2026-01-08 16:52:33 -06:00
Josh Wiedemeier 985b389227 add soft per-file --timeout option to allow slow files to be skipped in batch jobs 2026-01-08 14:46:00 -06:00
Josh Wiedemeier 17908643d6 add --force option to CLI to enable overwriting output files 2026-01-08 14:31:47 -06:00
Josh Wiedemeier ee8bac2d07 support passing directories to pylingual CLI files list 2026-01-08 13:45:13 -06:00
Josh Wiedemeier 0de9958652 improve annotation inlining for typedefs 2026-01-07 17:01:11 -06:00
Josh Wiedemeier 881d7b03f7 fix slice masking 2026-01-07 15:40:05 -06:00
Josh Wiedemeier ede802d9ee version bump in readme 2026-01-07 14:11:58 -06:00
Josh Wiedemeier 4a4a8a081d Merge branch 'dev' into dev-python-3.14 2026-01-07 14:09:28 -06:00
jdw170000 fd5ab559d7 Merge pull request #120 from XinlongCS/misc-improvements
EarlyRet adjustments for IfElse in TryExcept statements
2026-01-07 10:24:06 -06:00
Xinlong Hu 46a7751deb Adjusted EarlyRet and created EarlyRetDuplicateBlocks
EarlyRetDuplicateBlocks matching extraneous 3.10+ duplicate blocks that sometimes generates near the end of conflow flows
Adjusted EarlyRet to capture blocks with lines
2026-01-06 17:48:43 -06:00
Xinlong Hu 4050edefaf Merge remote-tracking branch 'origin/python-3.14-cflow' into misc-improvements 2026-01-05 13:27:48 -06:00
Josh Wiedemeier 578e17bd11 ignore stderr messages from uv logging that compilation occurred 2026-01-05 12:11:03 -06:00
jdw170000 e6d7e359a3 Merge pull request #115 from syssec-utd/dev-python-3.14
Draft Python 3.14 support
2025-12-24 13:36:54 -06:00
jdw170000 840537c07f Merge pull request #114 from syssec-utd/main
fix: emoji - windows encoding #89
2025-12-24 13:27:47 -06:00
Josh Wiedemeier 2d581d89b1 update pylingual model for 3.14 2025-12-24 13:25:08 -06:00
Josh Wiedemeier 13bc3bf297 better attempt at inlining __annotations__ in 314 2025-12-19 18:51:24 -06:00
Xinlong Hu f18449cbf9 additional EarlyRet instruction 2025-12-19 15:22:34 -06:00
Josh Wiedemeier a4bfd757db fix inlined __annotate__ jumps to return 2025-12-19 11:16:41 -06:00
Josh Wiedemeier 9300d74c21 update python 3.14 model versions 2025-12-19 10:05:15 -06:00
jdw170000 b643db87fd Merge pull request #112 from XinlongCS/python-3.14-cflow
Python 3.14 LOAD_FAST_BORROW and ast fixes
2025-12-19 10:03:10 -06:00
XinlongCS a4c113ec31 Ast fix for old deprecated values
Fixes AttributeError: module 'ast' has no attribute 'Str'

Co-Authored-By: jdw170000 <50096766+jdw170000@users.noreply.github.com>
2025-12-18 15:38:03 -06:00
XinlongCS 3d4ffc3911 Merge remote-tracking branch 'upstream/dev-python-3.14' into python-3.14-cflow 2025-12-18 15:36:13 -06:00
Xinlong Hu e833907ee0 replace new 3.14 equivalent opcodes
LOAD_FAST_BORROW -> LOAD_FAST
LOAD_FAST_BORROW_LOAD_FAST_BORROW -> LOAD_FAST_LOAD_FAST

For TryExceptElse template equivalence

Co-Authored-By: jdw170000 <50096766+jdw170000@users.noreply.github.com>
2025-12-18 14:50:13 -06:00
Josh Wiedemeier 76816ffed4 3.14 assert template recognize LOAD_COMMON_CONSTANT 2025-12-17 17:43:41 -06:00
jdw170000 42267b82cb Merge pull request #111 from XinlongCS/python-3.14-cflow
Python 3.14 CFlow & Misc
2025-12-17 11:55:53 -06:00
Josh Wiedemeier 1de20f78e2 replace_firstlno patch nits 2025-12-17 10:47:43 -06:00
Josh Wiedemeier 34fe0fa356 adjust firstlno patch for 314 load small int 2025-12-17 10:34:23 -06:00
Xinlong Hu 9ccb0275a0 remove cfg.end from exiting ElseBlock checks 2025-12-16 18:33:38 -06:00
Xinlong Hu ed22e7a30c 3.14 Loop changes 2025-12-16 18:32:04 -06:00
Xinlong Hu 78fef3e7f0 3.14 Generator template 2025-12-16 18:30:36 -06:00
Xinlong Hu 0c50bf1ebd disallow BlockTemplate to match after JumpTemplate matches 2025-12-16 18:27:20 -06:00
Xinlong Hu f4cd3eadc0 editing header to adjust for <3.12 versions 2025-12-16 17:27:54 -06:00
Josh Wiedemeier 8090d4cbf0 fix instruction backpoint in inlined __annotate__ functions 2025-12-16 15:10:53 -06:00
Josh Wiedemeier 70716b2ff1 add no-cleanup option to evaluate cflow 2025-12-16 15:10:38 -06:00
Josh Wiedemeier c7d96dcc15 uvify the cflwo eval script 2025-12-16 14:10:48 -06:00
Josh Wiedemeier 26772c99ee nits 2025-12-16 11:45:03 -06:00
Josh Wiedemeier e3af3a512d faster inlining of __annotate__ functions 2025-12-16 11:32:44 -06:00
Josh Wiedemeier a013a7d78f inline __annotations__ function code 2025-12-15 16:54:11 -06:00
Josh Wiedemeier 599c63a3c1 eval script type nits 2025-12-15 11:18:19 -06:00
Josh Wiedemeier a8e5a0aa44 compile uv fixes 2025-12-12 17:56:53 -06:00
Josh Wiedemeier e9cfc05023 blacklist NOT_TAKEN a s a low-information opcode 2025-12-12 17:20:16 -06:00
Josh Wiedemeier eaf3cf225c give up and add tensorboardX 2025-12-12 11:43:06 -06:00
Josh Wiedemeier 05669555da draft: add model cache 2025-12-12 11:24:38 -06:00
Josh Wiedemeier 50de9568b8 add evaluate dependency 2025-12-12 11:24:22 -06:00
Josh Wiedemeier 43bd68d6a2 Merge branch 'dev-python-3.14' of github.com:syssec-utd/pylingual into dev-python-3.14 2025-12-12 11:24:07 -06:00
Josh Wiedemeier 8fe1af238b upgrade dependencies 2025-12-12 11:23:39 -06:00
Joel Flores 9017e8cc13 decompiler evaluation 2025-12-12 11:18:47 -06:00
Josh Wiedemeier af2262cab8 add 3.14 to supported version lists 2025-12-12 10:41:19 -06:00
Josh Wiedemeier 9491656af0 update gitignore 2025-12-12 10:39:15 -06:00