Taint verification of a string in java code

29 views
Skip to first unread message

marie

unread,
May 14, 2013, 4:04:57 AM5/14/13
to taint...@googlegroups.com

Hi,
I developed an application that extract the IMEI of the android and stores it in a string.To verify if this string is tainted or not by using eclipse,i used "getTaintString" as following:

import dalvik.system.*;
import dalvik.annotation.*;

            TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);

            String device_id = tm.getDeviceId();
            
           Taint.getTaintString(device_id);
              
but it displays this error message:

"Taint cannot be resolved"

Any help please?

Thank you
Reply all
Reply to author
Forward
0 new messages