javascript-obfuscator / javascript-obfuscator/react-native-obfuscating-transformer
RN 0.55.4 require issue
- Vorherrschende Sprache
- TypeScript
- Sterne
- 211
- Forks
- 102
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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,
}
});
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react-native, typescript
- Bereich
- mobile, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100