Mail Archive Home | asm List | July 2010 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi, everybody,I am a newer for ASM. Several days ago when I looked for a toolhelp me do symbolic execution on Java program, I found ASM. Then Ibegan to learn it through asm-guide. But after several days, I gotsome confused whether it can help me.I want ASM to implement that every time when I give an input to ajava program, ASM execut the program symbolic, and return a pathcontraint representing the execution path. Then I will add the contraintsin the path contraint to a solver, and let the solver give me anothersolution which must lead to a different path in the program.For example, for the next simple exampe:public class myclass {public static void main(string[] args) {int solutions = args[1];while (solutions){int [2] a = solutionFromSolver();pathConstraint = ASM_symbolicExecution(program, a);addContraintsToSolver();solution --;}public int program(int a, int b) {if (a[0]>10)if (a[1] < 5)return 1;else return 2;else if (a[1] >= 5)return 3;return 4;}}}So when a = {7, 8}, then I want to give the path contraint,pc = {X0 <= 10, X1 >= 5}(X0 and X1 are the symbolic value ofa[0] and a[1]). So could sombody tell whether ASM can returnme a path contraint after a symboic execution? If it can, whichpart I shoulde pay close attention on in the asm-guid.pdf?Thank you very much.Best regards to you all~2010-07-09
yiqiuping19862010-07-09
yiqiuping1986
--
You receive this message as a subscriber of the asm@xxxxxxx mailing list.
To unsubscribe: mailto:asm-unsubscribe@xxxxxxx
For general help: mailto:sympa@xxxxxxx?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.