Skip to content

Commit

Permalink
Remove coffi
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMil committed Nov 29, 2023
1 parent a5b9e95 commit fbce476
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/main/java/soot/G.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public static void setGlobalObjectGetter(GlobalObjectGetter newGetter) {
public class Global {
}

public long coffi_BasicBlock_ids = 0;
public int SETNodeLabel_uniqueId = 0;
public HashMap<SETNode, SETBasicBlock> SETBasicBlock_binding = new HashMap<SETNode, SETBasicBlock>();
public boolean ASTAnalysis_modified;
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/soot/PackManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1209,8 +1209,7 @@ private void releaseBodies(SootClass cl) {
}

private void retrieveAllBodies() {
// The old coffi front-end is not thread-safe
int threadNum = Options.v().coffi() ? 1 : Runtime.getRuntime().availableProcessors();
int threadNum = Runtime.getRuntime().availableProcessors();
CountingThreadPoolExecutor executor
= new CountingThreadPoolExecutor(threadNum, threadNum, 30, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>());

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/soot/Timers.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ public void printProfilingInformation() {
// logger.debug(" analysis: " + toTimeString(liveAnalysisTimer, totalTime));
// logger.debug(" post: " + toTimeString(livePostTimer, totalTime));

logger.debug("Coading coffi structs: " + toTimeString(resolveTimer, totalTime));

// Print out time stats.
{
float timeInSecs;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/soot/UnknownMethodSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
* A MethodSource for methods that don't know where to get Body's from.
*
* @see soot.jimple.JimpleMethodSource
* @see soot.coffi.CoffiMethodSource
*/
public class UnknownMethodSource implements MethodSource {
UnknownMethodSource() {
Expand Down

0 comments on commit fbce476

Please sign in to comment.