From 236233bb172fdd9b78b4df98957703e477fd2acb Mon Sep 17 00:00:00 2001 From: Lil-Ran Date: Sun, 12 Oct 2025 19:48:36 +0800 Subject: [PATCH] fix: keep bcc callsite args --- pycdc/ASTree.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pycdc/ASTree.cpp b/pycdc/ASTree.cpp index 0e488db..6823eaf 100644 --- a/pycdc/ASTree.cpp +++ b/pycdc/ASTree.cpp @@ -170,7 +170,11 @@ void CallOrPyarmorBuiltins(FastStack &stack, PycRef &curblock, PycModu return; PycRef func_name = call->func().cast()->object().try_cast(); - if (func_name == nullptr || !func_name->startsWith("__pyarmor_")) + if ( + func_name == nullptr + || !func_name->startsWith("__pyarmor_") + || func_name->startsWith("__pyarmor_bcc_") + ) return; const std::string& name = func_name->strValue();