-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumping JBSE to latest version. Signed-off-by: Alessandro Pellegrini <[email protected]>
- Loading branch information
1 parent
5b69228
commit 7228697
Showing
246 changed files
with
17,417 additions
and
5,507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
Manifest-Version: 1.0 | ||
Implementation-Vendor: Sun Microsystems, Inc. | ||
Implementation-Title: Java Runtime Environment | ||
Implementation-Version: 1.6.0_04 | ||
Specification-Vendor: Sun Microsystems, Inc. | ||
Created-By: 1.6.0_04 (Sun Microsystems Inc.) | ||
Specification-Title: Java Platform API Specification | ||
Specification-Version: 1.6 | ||
|
||
Name: javax/swing/JCheckBoxMenuItem.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JDialog.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JSlider.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JTextField.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JTextPane.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JTextArea.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JList.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JFormattedTextField.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JApplet.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JSpinner.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JLabel.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JSplitPane.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JSeparator.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JComboBox.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JMenuItem.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JScrollBar.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JCheckBox.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JTabbedPane.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JTable.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JEditorPane.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JProgressBar.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JButton.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JPopupMenu.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JRadioButtonMenuItem.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JMenuBar.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JToggleButton.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JWindow.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JInternalFrame.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JPanel.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JToolBar.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JFrame.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JScrollPane.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JTree.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JMenu.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JPasswordField.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JRadioButton.class | ||
Java-Bean: True | ||
|
||
Name: javax/swing/JOptionPane.class | ||
Java-Bean: True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
package jbse.algo; | ||
|
||
import static jbse.bc.Offsets.MATH_LOGICAL_OP_OFFSET; | ||
|
||
import java.util.function.Supplier; | ||
|
||
import jbse.dec.DecisionProcedureAlgorithms; | ||
import jbse.tree.DecisionAlternative_NONE; | ||
|
||
/** | ||
* {@link Algorithm} for all the binary mathematical | ||
* and logical operator bytecodes. | ||
* | ||
* @author Pietro Braione | ||
*/ | ||
abstract class Algo_BINMATHLOGICALOP extends Algorithm< | ||
BytecodeData_0, | ||
DecisionAlternative_NONE, | ||
StrategyDecide<DecisionAlternative_NONE>, | ||
StrategyRefine<DecisionAlternative_NONE>, | ||
StrategyUpdate<DecisionAlternative_NONE>> { | ||
|
||
@Override | ||
protected final Supplier<Integer> numOperands() { | ||
return () -> 2; | ||
} | ||
|
||
@Override | ||
protected final Supplier<BytecodeData_0> bytecodeData() { | ||
return BytecodeData_0::get; | ||
} | ||
|
||
@Override | ||
protected final BytecodeCooker bytecodeCooker() { | ||
return (state) -> { }; | ||
} | ||
|
||
@Override | ||
protected final Class<DecisionAlternative_NONE> classDecisionAlternative() { | ||
return DecisionAlternative_NONE.class; | ||
} | ||
|
||
@Override | ||
protected final StrategyDecide<DecisionAlternative_NONE> decider() { | ||
return (state, result) -> { | ||
result.add(DecisionAlternative_NONE.instance()); | ||
return DecisionProcedureAlgorithms.Outcome.FF; | ||
}; | ||
} | ||
|
||
@Override | ||
protected final StrategyRefine<DecisionAlternative_NONE> refiner() { | ||
return (state, alt) -> { }; | ||
} | ||
|
||
@Override | ||
protected final Supplier<Boolean> isProgramCounterUpdateAnOffset() { | ||
return () -> true; | ||
} | ||
|
||
@Override | ||
protected final Supplier<Integer> programCounterUpdate() { | ||
return () -> MATH_LOGICAL_OP_OFFSET; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.