Skip to content

Commit

Permalink
Merge pull request #2029 from MarcMil/use-ordinary-maps
Browse files Browse the repository at this point in the history
Remove coffi
  • Loading branch information
StevenArzt authored Nov 29, 2023
2 parents 8698b75 + d43252e commit cda8d92
Show file tree
Hide file tree
Showing 606 changed files with 10,194 additions and 38,380 deletions.
4 changes: 0 additions & 4 deletions doc/soot_options.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,6 @@ <H1><A NAME="description">DESCRIPTION</A></H1>
<H1><A NAME="options">OPTIONS</A></H1>
<H2><A name="section_1">General Options</A></H2>
<table border="3">
<tr>
<td><tt>-coffi </tt><br></td>
<td colspan="2">Use the good old Coffi front end for parsing Java bytecode (instead of using ASM).</td>
</tr>
<tr>
<td><tt>-jasmin-backend </tt><br></td>
<td colspan="2">Use the Jasmin back end for generating Java bytecode (instead of using ASM).</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -996,12 +996,6 @@ private boolean createNewConfig() {
String nextListToken;


boolRes = getGeneral_Optionscoffi_widget().getButton().getSelection();
defBoolRes = false;

if (boolRes != defBoolRes) {
getConfig().put(getGeneral_Optionscoffi_widget().getAlias(), new Boolean(boolRes));
}
boolRes = getGeneral_Optionsjasmin_backend_widget().getButton().getSelection();
defBoolRes = false;

Expand Down Expand Up @@ -4553,16 +4547,6 @@ protected SootOption getInitialInput() {



private BooleanOptionWidget General_Optionscoffi_widget;

private void setGeneral_Optionscoffi_widget(BooleanOptionWidget widget) {
General_Optionscoffi_widget = widget;
}

public BooleanOptionWidget getGeneral_Optionscoffi_widget() {
return General_Optionscoffi_widget;
}

private BooleanOptionWidget General_Optionsjasmin_backend_widget;

private void setGeneral_Optionsjasmin_backend_widget(BooleanOptionWidget widget) {
Expand Down Expand Up @@ -8620,17 +8604,6 @@ private Composite General_OptionsCreate(Composite parent) {



defKey = ""+" "+""+" "+"coffi";
defKey = defKey.trim();

if (isInDefList(defKey)) {
defaultBool = getBoolDef(defKey);
} else {
defaultBool = false;
}

setGeneral_Optionscoffi_widget(new BooleanOptionWidget(editGroupGeneral_Options, SWT.NONE, new OptionData("Coffi Frontend", "", "","coffi", "\n", defaultBool)));

defKey = ""+" "+""+" "+"jasmin-backend";
defKey = defKey.trim();

Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/ASTNode$State.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @apilevel internal
* @ast class
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/ASTNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ASTNode;
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AbstractDot.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AbstractDot : {@link Access} ::= <span class="component">Left:{@link Expr}</span> <span class="component">Right:{@link Access}</span>;
* @ast node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AbstractWildcard : {@link Access};
* @ast node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AbstractWildcardType : {@link TypeDecl};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/Access.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production Access : {@link Expr};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AddExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AddExpr : {@link AdditiveExpr};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AdditiveExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AdditiveExpr : {@link ArithmeticExpr};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AmbiguousAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AmbiguousAccess : {@link Access} ::= <span class="component">&lt;ID:String&gt;</span>;
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AndBitwiseExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AndBitwiseExpr : {@link BitwiseExpr};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AndLogicalExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AndLogicalExpr : {@link LogicalExpr};
* @ast node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;

/**
* @production AnnotatedCompilationUnit : {@link CompilationUnit} ::= <span class="component">{@link Modifiers}</span>;
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/Annotation.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;

/**
* @production Annotation : {@link Modifier} ::= <span class="component">&lt;ID:String&gt;</span> <span class="component">{@link Access}</span> <span class="component">{@link ElementValuePair}*</span>;
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AnnotationDecl.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;

/**
* @production AnnotationDecl : {@link InterfaceDecl} ::= <span class="component">SuperInterfaceId:{@link Access}*</span>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AnnotationMethodDecl : {@link MethodDecl} ::= <span class="component">[DefaultValue:{@link ElementValue}]</span>;
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AnonymousDecl.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AnonymousDecl : {@link ClassDecl} ::= <span class="component">{@link Modifiers}</span> <span class="component">&lt;ID:String&gt;</span> <span class="component">[SuperClassAccess:{@link Access}]</span> <span class="component">Implements:{@link Access}*</span> <span class="component">{@link BodyDecl}*</span>;
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/ArithmeticExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ArithmeticExpr : {@link Binary};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/ArrayAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ArrayAccess : {@link Access} ::= <span class="component">{@link Expr}</span>;
* @ast node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ArrayCreationExpr : {@link PrimaryExpr} ::= <span class="component">TypeAccess:{@link Access}</span> <span class="component">[{@link ArrayInit}]</span>;
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/ArrayDecl.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ArrayDecl : {@link ClassDecl};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/ArrayInit.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ArrayInit : {@link Expr} ::= <span class="component">Init:{@link Expr}*</span>;
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/ArrayTypeAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ArrayTypeAccess : {@link TypeAccess} ::= <span class="component">&lt;Package:String&gt;</span> <span class="component">&lt;ID:String&gt;</span> <span class="component">{@link Access}</span>;
* @ast node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production ArrayTypeWithSizeAccess : {@link ArrayTypeAccess} ::= <span class="component">{@link Expr}</span>;
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AssertStmt.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AssertStmt : {@link Stmt} ::= <span class="component">first:{@link Expr}</span> <span class="component">[{@link Expr}]</span>;
* @ast node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AssignAdditiveExpr : {@link AssignExpr};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AssignAndExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AssignAndExpr : {@link AssignBitwiseExpr};
* @ast node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AssignBitwiseExpr : {@link AssignExpr};
* @ast node
Expand Down
4 changes: 0 additions & 4 deletions src/main/generated/jastadd/soot/JastAddJ/AssignDivExpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @production AssignDivExpr : {@link AssignMultiplicativeExpr};
* @ast node
Expand Down
Loading

0 comments on commit cda8d92

Please sign in to comment.