Decoding simple files with functions and assignments is now possible
This commit is contained in:
@@ -9,13 +9,10 @@ int main(int argc, char* argv[])
|
||||
|
||||
PycModule mod;
|
||||
mod.loadFromFile(argv[1]);
|
||||
printf("# Source Generated with Decompyle++ pycdc\n");
|
||||
printf("# Source Generated with Decompyle++\n");
|
||||
printf("# File: %s (Python %d.%d%s)\n", argv[1], mod.majorVer(), mod.minorVer(),
|
||||
(mod.majorVer() < 3 && mod.isUnicode()) ? " Unicode" : "");
|
||||
|
||||
ASTree source;
|
||||
source.load(&mod);
|
||||
source.printSource(&mod);
|
||||
decompyle(mod.code(), &mod);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user