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

RN 0.55.4 require issue

Ouverte
#6 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
211
Forks
102
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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,
}
});
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react-native, typescript
Domaine
mobile, tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.