[Soot-list] Help: How to retrive the value passed in mehod call.

Bodden, Eric eric.bodden at sit.fraunhofer.de
Tue Jan 21 03:51:07 EST 2014


Hi Pratibind.

> Yes,  String could be from any source like, like you mention " String concatenation or loaded from files or other resources". string is always constant like the statement "String str = "Constant String";" which is loaded from different file or other source, now it has been passed as argument to method like "someMethodName(SourceLocation.str)".

Well, if the string could be located inside configuration files then this is a problem. Your analysis would need to understand those files. It might be easier to actually execute the code with some instrumentation and then perform a dynamic analysis for those strings. By just analyzing the code as such (statically) there is not much hope that you will be able to recover the strings unless they are constants in the code.

Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20140121/704211e4/attachment.bin 


More information about the Soot-list mailing list