[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soot-list
Subject:    [Soot-list] (no subject)
From:       "Rashmi Mudduluru" <mudduluru.rashmi () csa ! iisc ! ernet ! in>
Date:       2014-10-15 16:44:28
Message-ID: 240743c443352823ad253d1c55f97542.squirrel () clmail ! csa ! iisc ! ernet ! in
[Download RAW message or body]

Hi,

I am instrumenting a class file in soot and I get the error message -
"Negative Stack Logical height has been attained".

The code snippet is as follows:

Chain units = b.getUnits();
Iterator<Unit> unitIt = units.snapshotIterator();
while (unitIt.hasNext()) {
	Unit u = unitIt.next();
	if((Stmt)u instanceof AssignStmt){
	InvokeExpr incExpr= Jimple.v().newStaticInvokeExpr(test.makeRef());
	Stmt incStmt = Jimple.v().newInvokeStmt(incExpr);
	Stmt stmt = (Stmt)u;
	units.insertBefore(incStmt, stmt);
}
}

Is anyone aware of this issue?

Thanks,
Rashmi.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Soot-list mailing list
Soot-list@CS.McGill.CA
https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic