Search in sources :

Example 1 with PassResult

use of org.mapleir.deob.PassResult in project maple-ir by LLVM-but-worse.

the class Boot method run.

private static void run(AnalysisContext cxt, PassGroup group) {
    PassContext pcxt = new PassContext(cxt, null, new ArrayList<>());
    PassResult result = group.accept(pcxt);
    if (result.getError() != null) {
        throw new RuntimeException(result.getError());
    }
}
Also used : PassResult(org.mapleir.deob.PassResult) PassContext(org.mapleir.deob.PassContext)

Example 2 with PassResult

use of org.mapleir.deob.PassResult in project maple-ir by LLVM-but-worse.

the class DataFlowDemoBoot method run.

private static void run(AnalysisContext cxt, PassGroup group) {
    PassContext pcxt = new PassContext(cxt, null, new ArrayList<>());
    PassResult result = group.accept(pcxt);
    if (result.getError() != null) {
        throw new RuntimeException(result.getError());
    }
}
Also used : PassResult(org.mapleir.deob.PassResult) PassContext(org.mapleir.deob.PassContext)

Example 3 with PassResult

use of org.mapleir.deob.PassResult in project maple-ir by LLVM-but-worse.

the class Boot2 method run.

private static void run(AnalysisContext cxt, PassGroup group) {
    PassContext pcxt = new PassContext(cxt, null, new ArrayList<>());
    PassResult result = group.accept(pcxt);
    if (result.getError() != null) {
        throw new RuntimeException(result.getError());
    }
}
Also used : PassResult(org.mapleir.deob.PassResult) PassContext(org.mapleir.deob.PassContext)

Example 4 with PassResult

use of org.mapleir.deob.PassResult in project maple-ir by LLVM-but-worse.

the class RunCommand method run.

private static void run(AnalysisContext cxt, PassGroup group) {
    PassContext pcxt = new PassContext(cxt, null, new ArrayList<>());
    PassResult result = group.accept(pcxt);
    if (result.getError() != null) {
        throw new RuntimeException(result.getError());
    }
}
Also used : PassResult(org.mapleir.deob.PassResult) PassContext(org.mapleir.deob.PassContext)

Aggregations

PassContext (org.mapleir.deob.PassContext)4 PassResult (org.mapleir.deob.PassResult)4