├── .gitignore ├── README.md ├── create-eclipse-project-linux.sh ├── create-eclipse-project-windows.cmd ├── diem-jeb-decomp-1.png ├── diem-jeb-decomp-2-medium.png ├── diem-jeb-decomp-2.png ├── out └── JebDiemPlugin-0.4.2.jar ├── scripts ├── build.xml └── generateEclipseProjectFilesForPlugin.py ├── src └── com │ └── pnf │ └── diemvm │ ├── Diem.java │ ├── DiemAnalyzerExtension.java │ ├── DiemBytecodeParser.java │ ├── DiemCodeFormatter.java │ ├── DiemConverter.java │ ├── DiemDecompilerExtension.java │ ├── DiemDecompilerPlugin.java │ ├── DiemDisassemblerPlugin.java │ ├── DiemIdentifier.java │ ├── DiemInstruction.java │ ├── DiemInstructionOperand.java │ ├── DiemModuleRebuilder.java │ ├── DiemObject.java │ ├── DiemPool.java │ ├── DiemPoolEntry.java │ ├── DiemSourceCustomizer.java │ ├── DiemUnit.java │ └── diem_icon.png ├── test └── README.md └── testdata ├── 1.bin ├── 1.expected ├── 1.mvir ├── 1.txt ├── README.md ├── check_native_keccak256.bin ├── check_native_keccak256.expected ├── check_native_keccak256.mvir ├── check_native_keccak256.txt ├── create_account.bin ├── create_account.expected ├── create_account.mvir ├── create_account.txt ├── libra_account.bin ├── libra_account.expected ├── libra_account.mvir ├── libra_account.txt ├── libra_coin.bin ├── libra_coin.expected ├── libra_coin.mvir ├── libra_coin.txt ├── math.bin ├── math.expected ├── math.mvir └── math.txt /.gitignore: -------------------------------------------------------------------------------- 1 | .project 2 | .classpath 3 | bin/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/README.md -------------------------------------------------------------------------------- /create-eclipse-project-linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | python scripts/generateEclipseProjectFilesForPlugin.py $1 -------------------------------------------------------------------------------- /create-eclipse-project-windows.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | python scripts\generateEclipseProjectFilesForPlugin.py %1 3 | -------------------------------------------------------------------------------- /diem-jeb-decomp-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/diem-jeb-decomp-1.png -------------------------------------------------------------------------------- /diem-jeb-decomp-2-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/diem-jeb-decomp-2-medium.png -------------------------------------------------------------------------------- /diem-jeb-decomp-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/diem-jeb-decomp-2.png -------------------------------------------------------------------------------- /out/JebDiemPlugin-0.4.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/out/JebDiemPlugin-0.4.2.jar -------------------------------------------------------------------------------- /scripts/build.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/scripts/build.xml -------------------------------------------------------------------------------- /scripts/generateEclipseProjectFilesForPlugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/scripts/generateEclipseProjectFilesForPlugin.py -------------------------------------------------------------------------------- /src/com/pnf/diemvm/Diem.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/Diem.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemAnalyzerExtension.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemAnalyzerExtension.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemBytecodeParser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemBytecodeParser.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemCodeFormatter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemCodeFormatter.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemConverter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemConverter.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemDecompilerExtension.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemDecompilerExtension.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemDecompilerPlugin.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemDecompilerPlugin.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemDisassemblerPlugin.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemDisassemblerPlugin.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemIdentifier.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemIdentifier.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemInstruction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemInstruction.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemInstructionOperand.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemInstructionOperand.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemModuleRebuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemModuleRebuilder.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemObject.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemObject.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemPool.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemPool.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemPoolEntry.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemPoolEntry.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemSourceCustomizer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemSourceCustomizer.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/DiemUnit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/DiemUnit.java -------------------------------------------------------------------------------- /src/com/pnf/diemvm/diem_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/src/com/pnf/diemvm/diem_icon.png -------------------------------------------------------------------------------- /test/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/1.bin -------------------------------------------------------------------------------- /testdata/1.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/1.expected -------------------------------------------------------------------------------- /testdata/1.mvir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/1.mvir -------------------------------------------------------------------------------- /testdata/1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/1.txt -------------------------------------------------------------------------------- /testdata/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/README.md -------------------------------------------------------------------------------- /testdata/check_native_keccak256.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/check_native_keccak256.bin -------------------------------------------------------------------------------- /testdata/check_native_keccak256.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/check_native_keccak256.expected -------------------------------------------------------------------------------- /testdata/check_native_keccak256.mvir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/check_native_keccak256.mvir -------------------------------------------------------------------------------- /testdata/check_native_keccak256.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/check_native_keccak256.txt -------------------------------------------------------------------------------- /testdata/create_account.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/create_account.bin -------------------------------------------------------------------------------- /testdata/create_account.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/create_account.expected -------------------------------------------------------------------------------- /testdata/create_account.mvir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/create_account.mvir -------------------------------------------------------------------------------- /testdata/create_account.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/create_account.txt -------------------------------------------------------------------------------- /testdata/libra_account.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_account.bin -------------------------------------------------------------------------------- /testdata/libra_account.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_account.expected -------------------------------------------------------------------------------- /testdata/libra_account.mvir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_account.mvir -------------------------------------------------------------------------------- /testdata/libra_account.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_account.txt -------------------------------------------------------------------------------- /testdata/libra_coin.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_coin.bin -------------------------------------------------------------------------------- /testdata/libra_coin.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_coin.expected -------------------------------------------------------------------------------- /testdata/libra_coin.mvir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_coin.mvir -------------------------------------------------------------------------------- /testdata/libra_coin.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/libra_coin.txt -------------------------------------------------------------------------------- /testdata/math.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/math.bin -------------------------------------------------------------------------------- /testdata/math.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/math.expected -------------------------------------------------------------------------------- /testdata/math.mvir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/math.mvir -------------------------------------------------------------------------------- /testdata/math.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pnfsoftware/jeb-plugin-diem/HEAD/testdata/math.txt --------------------------------------------------------------------------------