Skip to content

Obfuscation changes __name__ variable name #14

Open
@joaopfg

Description

@joaopfg

I am trying to obfuscate a very simple file like the following:

from file1 import f1
from file2 import f2

if __name__ == "__main__":
    f1()
    f2()
    print("f3")

The __name__ variable name is converted to a garbage string and it avoids the program to run. Any idea where is the bug ? I can try a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions