<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
</head>
<body style="font-family:Arial;font-size:14px">
<p>Hello All,<br>
<br>
I need to do some type conversions in soot for my project.<br>
<br>
In the case if I have string value of "10" , I can convert it to an integer by simply Integer.parseInt("10") and then IntConstant.v(Integer.parseInt("10")) would give me a value in soot of Integer type. This is successful type conversion.<br>
<br>
Now, the problem that I am facing is : Say I have a Date(java.util.Date) stored as string such as "06-04-2017" , how can I convert this to a Soot value of say type Object(so that I can handle other non-primitive types as well) similar to how I did for IntConstant.<br>
<br>
Any help would be appreciated,<br>
Pallavi<br></p>
</body>
</html>