8 Commits
Author SHA1 Message Date
MG1937 efa3457026 fix utf16 issue for dex builder 2026-09-30 21:26:06 +08:00
MG193_7 ac5cae1574 fix DEX.get_string count by bytes not by utf16 units issue 2026-09-23 15:43:04 +08:00
MG193_7 4e3da8306b enhance gui xref ability by androguard token type 2026-09-21 11:38:52 +08:00
MG1937 752477e8a3 add listclass command 2026-09-17 02:13:21 +08:00
MG193.7 d7bed56068 Merge pull request #25 from dajiaohuang/fix/gui-subprocess-module
fix(gui): launch subprocess search worker from package
2026-09-16 02:42:19 +08:00
dajiaohuang 7c31f069a6 fix(gui): use package path for subprocess search worker 2026-09-16 00:47:57 +08:00
KennyUMN 484d853660 fix(findrefs): keep INSN_VERIFY compilable on the declared python floor
InsnLocator built its instruction-verify pattern with an atomic group
(?>(?:...)*). Atomic groups are python 3.11+ syntax, but pyproject and
the published wheel both declare requires-python >=3.10. On 3.10
re.compile raises re.error("unknown extension ?>") while the class
attribute is being built, so every findrefs search and getclass
decompile fails before touching the DEX.

The atomic group is a real optimisation - it stops the greedy star from
backtracking over instruction ranges that fail to verify, which is the
common case on a real DEX - so it is kept where the interpreter
understands it and only the 3.10 fallback drops it. Measured on the
supplied reference DEX, replacing it unconditionally costs about 5% on
the gated field_ref_scan metric, so this is not a plain deletion.

Refs #20
2026-09-15 19:24:52 +07:00
MG1937 362f83c3d3 adjust for pip 2026-09-15 17:00:45 +08:00