Skip to content

[BUG] The function using the decorator lacks comments, causing the bcc mode to fail. #2321

@17Reset

Description

@17Reset

pyarmor_bcc_issue_fail_demo.py
pyarmor_bcc_issue_ok_demo.py

pyarmor gen --enable-bcc --obf-code 2 --output dist_demo_ok pyarmor_bcc_issue_ok_demo.py
pyarmor gen --enable-bcc --obf-code 2 --output dist_demo_fail pyarmor_bcc_issue_fail_demo.py

INFO     Python 3.14.2
INFO     Pyarmor 9.2.4 (group), 006040, non-profits
INFO     Platform windows.x86_64
INFO     search inputs ...
INFO     find script xqt_rtl\code_hierarchy\pyarmor_bcc_issue_fail_demo.py
INFO     find 1 top resources
INFO     start to generate runtime files
INFO     target platforms {'windows.amd64'}
INFO     write dist_demo_fail\pyarmor_runtime_006040\pyarmor_runtime.pyd
INFO     generate runtime files OK
INFO     start to obfuscate scripts
INFO     process resource "pyarmor_bcc_issue_fail_demo"
INFO     obfuscating file pyarmor_bcc_issue_fail_demo.py
INFO     start to generate bcc code ...
INFO     generate bcc code successfully
ERROR    no found bcc data
Python 3.14.2
PyArmor 9.2.4
Windows x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions