Skip to content

Commit 3b0f8b2

Browse files
committed
Remove non-functional disassembler
1 parent 255cf1c commit 3b0f8b2

File tree

3 files changed

+4
-560
lines changed

3 files changed

+4
-560
lines changed

visualizer/C1Visualizer/NativeCodeEditor/src/main/java/at/ssw/visualizer/nc/model/HexCodeFileSupport.java

Lines changed: 0 additions & 30 deletions
This file was deleted.

visualizer/C1Visualizer/NativeCodeEditor/src/main/java/at/ssw/visualizer/nc/model/NCTextBuilder.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import java.util.HashMap;
3838
import java.util.List;
3939
import java.util.Map;
40+
4041
import org.netbeans.api.editor.fold.FoldType;
4142
import org.netbeans.editor.TokenID;
4243

@@ -69,7 +70,9 @@ public Text buildDocument(ControlFlowGraph cfg) {
6970
private Text buildDocument(ControlFlowGraph cfg, boolean skipLIR) {
7071
String text = cfg.getNativeMethod().getMethodText().trim();
7172
if (text.startsWith("<<<HexCodeFile") && text.endsWith("HexCodeFile>>>")) {
72-
text = HexCodeFileSupport.decode(text);
73+
// There is no builtin disassembler so just pass it through for now
74+
append(text);
75+
return buildText(cfg, NCEditorSupport.MIME_TYPE);
7376
}
7477
String[] methodText = text.split("\n");
7578

0 commit comments

Comments
 (0)