Die Suche ergab 7 Treffer

von Andreas Wittmann
21. Dez 2014 23:38
Forum: Designing code analyses for large software systems (DECA)
Thema: 2a)
Antworten: 0
Zugriffe: 524

2a)

Im a litte confused about 2a), or more precise about 2h - a). But the general problem comes with how to execute a FSCI-Analysis. So the idea got from reading to literature is that we do such an analysis with multiple iterations. So basically we start with the FS and end up at the add method. We anal...
von Andreas Wittmann
17. Dez 2014 17:36
Forum: Implementing code analyses for large software systems (ICA)
Thema: Identification of the local "this"
Antworten: 1
Zugriffe: 424

Re: Identification of the local "this"

What we are doing is first to check if the callee is static. Because in a static method we dont even have 'this' if (ie instanceof InstanceInvokeExpr) { Value instance = ((InstanceInvokeExpr) ie).getBase(); FlowAbstraction thisLocalFA = new FlowAbstraction(calledMethod .getActiveBody().getThisLocal(...
von Andreas Wittmann
14. Dez 2014 16:29
Forum: Implementing code analyses for large software systems (ICA)
Thema: Sheet 4 Ex. 1a)
Antworten: 3
Zugriffe: 876

Re: Sheet 4 Ex. 1a)

Thanks johannes. Just removed my ugly workarround from 2 weeks ago when we first talked about the problem and still works fine. Btw. Am i blind or is there really no way to invoke a BinOp expression in a generic way? I'm quite sick of if(... instance of mult) else if ( instanceof add)... i looked fo...
von Andreas Wittmann
24. Nov 2014 15:05
Forum: Implementing code analyses for large software systems (ICA)
Thema: [ICA-Sheet 3 - Help], Why Soot, Why?
Antworten: 6
Zugriffe: 1118

Re: [ICA-Sheet 3 - Help], Why Soot, Why?

Could you give us some insight how many groups did actually check in the last sheet-solutions? In the last ICA-Lesson there only were 3 groups present. For this sheet i worked together with another group, because im almost alone and its nice to share some ideas/compare solutions so our solutions are...
von Andreas Wittmann
23. Nov 2014 15:24
Forum: Implementing code analyses for large software systems (ICA)
Thema: [ICA-Sheet 3 - Help], Why Soot, Why?
Antworten: 6
Zugriffe: 1118

Re: [ICA-Sheet 3 - Help], Why Soot, Why?

Never mind. Works now and passes all tests. http://i.imgur.com/0vtZhPW.png For the other Groups i'd like to tell you what we did. I also would like to post the complete Code but i suppose i'm not allowed to, or am I? If so I'd gladly give the other Groups some help. Anyway some talk about what we di...
von Andreas Wittmann
21. Nov 2014 00:29
Forum: Implementing code analyses for large software systems (ICA)
Thema: [ICA-Sheet 3 - Help], Why Soot, Why?
Antworten: 6
Zugriffe: 1118

[ICA-Sheet 3 - Help], Why Soot, Why?

I think we need some help here. We started Implementing Exercise 2 today and 3 Test cases are missing, so basically it went pretty good i'd say. Now we're kinda Stuck at tesethod 8 - The object field setter test. private void testMethod8() { Container c = new Container(); setField(c); Container d = ...

Zur erweiterten Suche