javascript-obfuscator / javascript-obfuscator/gulp-javascript-obfuscator

Obfuscated script crashing when both mangled identifiers and string array are enabled.

未關閉
#25 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
103
分支
37
PR 合併指標
30 天內沒有已合併 PR

描述

Relevant gulp options below:

```
{
compact: true,
controlFlowFlattening: false,
deadCodeInjection: false,
debugProtection: true,
debugProtectionInterval: false,
disableConsoleOutput: true,
identifierNamesGenerator: 'mangled',
log: false,
renameGlobals: true,
selfDefending: false,
splitStrings: true,
splitStringsChunkLength: 3,
stringArray: false,
stringArrayEncoding: false,
rotateStringArray: true,
stringArrayThreshold: 1.00,
transformObjectKeys: true,
unicodeEscapeSequence: false
}
```

`stringArray` seems the culprit here. Disabling any other other primary suspects, such as `renameGlobals` and `debugProtection`, did not fix the issue. Thanks!

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

報告僅提供一個 Gulp 設定;先使用遭到竄改的識別碼並啟用 stringArray 重現崩潰,然後與停用 stringArray 的情況比較。未指出任何檔案、測試、輸入指令碼或錯誤輸出。完成的標準是找出並修正不相容問題,並確認該設定不再崩潰。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
build-system, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。