javascript-obfuscator / javascript-obfuscator/react-native-obfuscating-transformer
RN 0.55.4 require issue
- Lingua principale
- TypeScript
- Stelle
- 211
- Fork
- 102
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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,
}
});
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react-native, typescript
- Ambito
- mobile, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100