javascript-obfuscator / javascript-obfuscator/react-native-obfuscating-transformer

RN 0.55.4 require issue

オープン
#6 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
211
フォーク
102
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, Im getting
calls to `require` expect exactly 1 string literal argument, but this was found: `require(_0xbf50('0x4'))`.
anybody know what could be the issue there?

transformer used:
```
module.exports = obfuscatingTransformer({
upstreamTransformer: typescriptTransformer,
obfuscatorOptions: {
compact: true,
controlFlowFlattening: false,
controlFlowFlatteningThreshold: 0.75,
deadCodeInjection: true,
deadCodeInjectionThreshold: 0.4,
debugProtection: true,
debugProtectionInterval: false,
disableConsoleOutput: true,
identifierNamesGenerator: "hexadecimal",
log: false,
renameGlobals: false,
reservedNames: ['import', 'require', 'class declaration', 'export'],
rotateStringArray: false,
seed: 0,
selfDefending: false,
sourceMap: false,
sourceMapMode: "separate",
stringArray: false,
stringArrayEncoding: false,
// stringArrayThreshold: 1,
target: "node",
unicodeEscapeSequence: false,
}
});
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

No source file, test, or entry point is identified in the report. Start by reproducing the React Native 0.55.4 build with the shown TypeScript transformer configuration and inspect the generated require(_0xbf50('0x4')) call; done means identifying the cause of the invalid require argument and documenting a confirmed fix.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react-native, typescript
領域
mobile, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。