Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Taintdroid Runner output
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt Kim  
View profile  
 More options Apr 9 2012, 3:07 pm
From: Matt Kim <mjkim...@gmail.com>
Date: Mon, 9 Apr 2012 12:07:19 -0700 (PDT)
Local: Mon, Apr 9 2012 3:07 pm
Subject: Taintdroid Runner output
What type of output is Taintdroid Runner supposed to make? I know it
makes a folder with the date, but what's supposed to be in it?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Kim  
View profile  
 More options Apr 9 2012, 3:14 pm
From: Matt Kim <mjkim...@gmail.com>
Date: Mon, 9 Apr 2012 12:14:22 -0700 (PDT)
Local: Mon, Apr 9 2012 3:14 pm
Subject: Re: Taintdroid Runner output
When I ran Taintdroid Runner on a Barcode Scanner, I got the following
error message:

120559: Cancelation flag found, abort thread
  File "/usr/lib/python2.6/threading.py", line 504, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib/python2.6/threading.py", line 532, in
__bootstrap_inner
    self.run()
  File "taintdroid_runner.py", line 155, in run
    keyboardInterruptFlag = self.runApp(self.emulator, self.app,
self.simulationSteps)
  File "taintdroid_runner.py", line 347, in runApp
    self._runSleep(theEmulator, theApp)
  File "taintdroid_runner.py", line 525, in _runSleep
    self.__checkForCancelation()
  File "taintdroid_runner.py", line 104, in __checkForCancelation
    traceback.print_stack(file=self.log.log)
Keyboard interrupt detected: store log, postprocess, and finish
- 120559: Analyze log
Traceback (most recent call last):
  File "taintdroid_runner.py", line 155, in run
    keyboardInterruptFlag = self.runApp(self.emulator, self.app,
self.simulationSteps)
  File "taintdroid_runner.py", line 383, in runApp
    logAnalyzer.setLogFile(logcatFileName)
  File "/home/mattkim/tdroid-2.3/taintlog_analyzer.py", line 57, in
setLogFile
    logFile = open(theFile, 'r')
IOError: [Errno 2] No such file or directory: '20120409-115948/
BS4_151413_logcat.log'

On Apr 9, 3:07 pm, Matt Kim <mjkim...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Baeumges  
View profile  
 More options Apr 11 2012, 4:03 am
From: Daniel Baeumges <dbaeum...@googlemail.com>
Date: Wed, 11 Apr 2012 10:03:11 +0200
Local: Wed, Apr 11 2012 4:03 am
Subject: Re: Taintdroid Runner output

Hi Matt,

have you checked to use TaintDroid Runner with different options?
Regards the outputs. Please refer to
https://sites.google.com/site/taintdroid23/taintdroid_runner#TOC-Log-...

Best regards,
Daniel

2012/4/9 Matt Kim <mjkim...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Kim  
View profile  
 More options Apr 11 2012, 6:26 pm
From: Matt Kim <mjkim...@gmail.com>
Date: Wed, 11 Apr 2012 15:26:14 -0700 (PDT)
Local: Wed, Apr 11 2012 6:26 pm
Subject: Re: Taintdroid Runner output
I actually got it to work for some apps. I'm not really sure what was
different. I used the following command:

. ~/tdroid-2.3/build/envsetup.sh
lunch 1
python taintdroid_runner.py -a ~/YOURAPP.apk -i ~/tdroid-2.3/out/
target/product/generic/

What would the format be with the different options? also, I don't
really understand the format of the contents of the log file... can
you explain that to me?

Sincerely,
Matt Kim

On Apr 11, 4:03 am, Daniel Baeumges <dbaeum...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Kim  
View profile  
 More options Apr 12 2012, 3:51 am
From: Matt Kim <mjkim...@gmail.com>
Date: Thu, 12 Apr 2012 00:51:05 -0700 (PDT)
Local: Thurs, Apr 12 2012 3:51 am
Subject: Re: Taintdroid Runner output
For many apps, however, I get this problem:

Create clean image dir: /tmp/Slash_867275
- Copy ramdisk.img
- Copy sdcard.img
- Copy system.img
- Copy userdata.img
- Copy zImage
Start emulator
- 235957: Install app
Error: Thread 1 cannot be terminated, anyway free it up.

Do you know what could cause this?

Sincerely,
Matt Kim
On Apr 11, 4:03 am, Daniel Baeumges <dbaeum...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Baeumges  
View profile  
 More options Apr 12 2012, 12:14 pm
From: Daniel Baeumges <dbaeum...@googlemail.com>
Date: Thu, 12 Apr 2012 18:14:46 +0200
Local: Thurs, Apr 12 2012 12:14 pm
Subject: Re: Taintdroid Runner output

Hi Matt,

what do you mean with "formats"? All taint relevant logs are logged in a
JSON-conform string which is read by the analyzer.
If a thread cannot be terminated than it typically hangs. Sometimes the log
give useful hints on that.

Anyway, maybe you have to increase the runtime with --maxThreadRuntime
<secs>.

Best regards,
Daniel

2012/4/12 Matt Kim <mjkim...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Kim  
View profile  
 More options Apr 12 2012, 4:46 pm
From: Matt Kim <mjkim...@gmail.com>
Date: Thu, 12 Apr 2012 13:46:31 -0700 (PDT)
Local: Thurs, Apr 12 2012 4:46 pm
Subject: Re: Taintdroid Runner output
I'm just having trouble understanding what's inside the log and what
it means.

For example, if this is the log, what do the individual lines mean?

I(   83:0x5d) Clipboard Service
I(   83:0x5d) Input Method Service
I(   83:0x5d) Enabled input methods:
com.android.inputmethod.latin/.LatinIME
I(   83:0x5d) Enabled input methods or default IME has not been set,
enabling all
I(   83:0x5d) Adding: com.android.inputmethod.latin/.LatinIME
I(   83:0x5d) No default found, using
com.android.inputmethod.latin/.LatinIME
I(   83:0x5d) NetStat Service
I(   83:0x5d) NetworkManagement Service
I(   83:0x5d) Connectivity Service
I(   83:0xab) WifiService starting up with Wi-Fi disabled
D(   83:0xab) Registering observer
I(   83:0x5d) Throttle Service
I(   83:0x5d) Accessibility Manager
I(   83:0x5d) Mount Service
I(   83:0x5d) Notification Manager
I(   83:0x5d) Device Storage Monitor
D(   29:0x34) volume list
I(   83:0x5d) Location Manager
I(   83:0xb1) Updating external media status from unmounted to
unmounted
D(   29:0x34) share status ums
I(   83:0x5d) Search Service
I(   83:0x5d) DropBox Service
I(   83:0x5d) Wallpaper Service
W(   83:0x5d) failed parsing /data/system/wallpaper_info.xml
java.io.FileNotFoundException: /data/system/wallpaper_info.xml (No
such file or directory)
I(   83:0x5d) Audio Service
D(   83:0x55) GC_CONCURRENT freed 242K, 43% free 4774K/8327K, external
716K/1038K, paused 6ms+7ms
D(   74:0x4a) setMode(NORMAL)
W(   74:0x4a) setPhoneState() setting same state 0
E(   83:0x5d) error loading /system/media/audio/ui/Effect_Tick.ogg
W(   83:0x5d) Soundpool could not load file: /system/media/audio/ui/
Effect_Tick.ogg
E(   83:0x5d) error loading /system/media/audio/ui/
KeypressStandard.ogg
W(   83:0x5d) Soundpool could not load file: /system/media/audio/ui/
KeypressStandard.ogg
E(   83:0x5d) error loading /system/media/audio/ui/
KeypressSpacebar.ogg
W(   83:0x5d) Soundpool could not load file: /system/media/audio/ui/
KeypressSpacebar.ogg
E(   83:0x5d) error loading /system/media/audio/ui/KeypressDelete.ogg
W(   83:0x5d) Soundpool could not load file: /system/media/audio/ui/
KeypressDelete.ogg
E(   83:0x5d) error loading /system/media/audio/ui/KeypressReturn.ogg
W(   83:0x5d) Soundpool could not load file: /system/media/audio/ui/
KeypressReturn.ogg
I(   83:0x5d) Headset Observer
W(   83:0x5d) This kernel does not have wired headset support
I(   83:0x5d) Dock Observer
W(   83:0x5d) This kernel does not have dock station support
I(   83:0x5d) USB Service
W(   83:0x5d) settings file not found
I(   83:0x5d) This kernel does not have USB configuration switch
support
I(   83:0x5d) UI Mode Manager Service
I(   83:0x5d) Backup Service
V(   83:0x5d) No ancestral data
I(   83:0x5d) Backup enabled => false
I(   83:0x5d) AppWidget Service
I(   83:0x5d) Recognition Service
I(   83:0x5d) DiskStats Service
I(   83:0x5d) SAFE MODE not enabled
D(   83:0x5d) system ready!
I(   83:0x5d) Sending system update to:
ComponentInfo{com.android.providers.calendar/
com.android.providers.calendar.CalendarUpgradeReceiver}
I(   83:0x5d) Sending system update to:
ComponentInfo{com.android.providers.contacts/
com.android.providers.contacts.ContactsUpgradeReceiver}
I(   83:0x5d) Enabled StrictMode for system server main thread.
I(   83:0xa4) Starting: Intent { act=android.intent.action.MAIN
cat=[android.intent.category.HOME] flg=0x10000000
cmp=com.android.provision/.DefaultActivity } from pid 0
I(   83:0x5f) Process: zygote socket opened
I(   83:0x5f) Start proc com.android.providers.calendar for broadcast
com.android.providers.calendar/.CalendarUpgradeReceiver: pid=185
uid=10001 gids={3003}
I(   83:0x53) Launching preboot mode app: ProcessRecord{406b83a8
185:com.android.providers.calendar/10001}
D(   36:0x24) DexInv: --- BEGIN '/system/app/CalendarProvider.apk' ---
D(  192:0xc0) DexOpt: load 171ms, verify+opt 1122ms
D(   36:0x24) DexInv: --- END '/system/app/
CalendarProvider.apk' (success) ---
D(  185:0xbb) GC_CONCURRENT freed 441K, 39% free 3448K/5639K, external
716K/1038K, paused 6ms+5ms
I(  185:0xb9) Creating or opening calendar database
I(  185:0xb9) Bootstrapping database
I(   83:0x58) Start proc android.process.acore for broadcast
com.android.providers.contacts/.ContactsUpgradeReceiver: pid=194
uid=10006 gids={3003, 1015}
I(   83:0x59) Launching preboot mode app: ProcessRecord{406d9f08
194:android.process.acore/10006}
D(   36:0x24) DexInv: --- BEGIN '/system/app/ContactsProvider.apk' ---
D(  203:0xcb) DexOpt: load 51ms, verify+opt 574ms
D(   36:0x24) DexInv: --- END '/system/app/
ContactsProvider.apk' (success) ---
I(  194:0xc2) Creating or opening contacts database
D(  194:0xc6) GC_CONCURRENT freed 429K, 40% free 3432K/5639K, external
716K/1038K, paused 6ms+15ms
I(  194:0xc2) Bootstrapping database
I(  194:0xc2) Bootstrapping database legacy support
D(  194:0xc6) GC_CONCURRENT freed 278K, 38% free 3542K/5639K, external
716K/1038K, paused 5ms+9ms
I(   83:0x5f) Writing new set of last done pre-boot receivers...
I(   83:0x5f) Removing system update proc: ProcessRecord{406b83a8
185:com.android.providers.calendar/10001}
I(   83:0x5f) Sending signal. PID: 185 SIG: 9
I(   83:0x5f) Removing system update proc: ProcessRecord{406d9f08
194:android.process.acore/10006}
I(   83:0x5f) Sending signal. PID: 194 SIG: 9
I(   83:0x5f) System now ready
I(   83:0x5f) Making services ready
I(   83:0x5f) Starting service: ComponentInfo{com.android.systemui/
com.android.systemui.statusbar.StatusBarService}
I(   83:0x5f) Start proc com.android.systemui for service
com.android.systemui/.statusbar.StatusBarService: pid=207 uid=1000
gids={3002, 3001, 3003}
I(   83:0x5f) Config changed: { scale=1.0 imsi=0/0 loc=md_US touch=0
keys=0/0/0 nav=0/0 orien=0 layout=0 uiMode=17 seq=2}
W(   83:0x5f) no available voice recognition services found
I(   83:0x5d) Device not provisioned, skipping USB broadcast
I(   83:0x5f) Start proc com.android.inputmethod.latin for service
com.android.inputmethod.latin/.LatinIME: pid=211 uid=10000 gids={}
D(   83:0x5f) Registering observer
E(   83:0xd5) Error reading data file
E(   83:0x5f) Could not open GPS configuration file /etc/gps.conf
I(   83:0x5f) Start proc com.android.phone for added application
com.android.phone: pid=216 uid=1001 gids={3002, 3001, 3003, 1015}
D(   83:0x55) GC_CONCURRENT freed 271K, 40% free 5009K/8327K, external
716K/1038K, paused 6ms+8ms
I(   83:0x5f) Start proc com.android.systemui for added application
com.android.systemui: pid=217 uid=1000 gids={3002, 3001, 3003}
I(   83:0x5f) Start proc com.android.provision for activity
com.android.provision/.DefaultActivity: pid=220 uid=10019 gids={}
I(   83:0xa6) Config changed: { scale=1.0 imsi=0/0 loc=md_US touch=3
keys=2/1/2 nav=3/1 orien=1 layout=18 uiMode=17 seq=3}
I(   75:0x4e) Cannot find device "rmnet0"
I(   75:0x4e) /system/bin/tc terminated by exit(1)
I(   75:0x4e) Cannot find device "rmnet0"
I(   75:0x4e) /system/bin/tc terminated by exit(1)
I(   75:0x4e) Cannot find device "ifb0"
I(   75:0x4e) /system/bin/tc terminated by exit(1)
D(   83:0xa7) GC_EXTERNAL_ALLOC freed 369K, 40% free 4997K/8327K,
external 716K/1038K, paused 386ms
W(   83:0x59) No pending application record for pid 207
(IApplicationThread android.app.ApplicationThreadProxy@407b70b8);
dropping process
I(   83:0x59) Sending signal. PID: 207 SIG: 9
I(   75:0x4e) Cannot find device "rmnet0"
I(   75:0x4e) /system/bin/tc terminated by exit(1)
I(   75:0x4e) Cannot find device "rmnet0"
I(   75:0x4e) /system/bin/tc terminated by exit(1)
D(   36:0x24) DexInv: --- BEGIN '/system/app/LatinIME.apk' ---
I(   75:0x4e) Cannot find device "ifb0"
I(   75:0x4e) /system/bin/tc terminated by exit(1)
D(   83:0x55) GC_CONCURRENT freed 451K, 40% free 5053K/8327K, external
1316K/1828K, paused 7ms+8ms
D(  250:0xfa) DexOpt: load 598ms, verify+opt 588ms
D(   36:0x24) DexInv: --- END '/system/app/LatinIME.apk' (success) ---
D(   36:0x24) DexInv: --- BEGIN '/system/app/TelephonyProvider.apk'
---
D(  211:0xd7) GC_CONCURRENT freed 424K, 39% free 3470K/5639K, external
716K/1038K, paused 5ms+17ms
D(  256:0x100) DexOpt: load 77ms, verify+opt 450ms
D(   36:0x24) DexInv: --- END '/system/app/
TelephonyProvider.apk' (success) ---
D(   36:0x24) DexInv: --- BEGIN '/system/app/Phone.apk' ---
D(  257:0x101) DexOpt: load 187ms, verify+opt 1070ms
D(   36:0x24) DexInv: --- END '/system/app/Phone.apk' (success) ---
D(   36:0x24) DexInv: --- BEGIN '/system/app/SystemUI.apk' ---
D(  216:0xdf) GC_CONCURRENT freed 397K, 38% free 3498K/5639K, external
716K/1038K, paused 6ms+5ms
I(  216:0xd8) Pub mms: com.android.providers.telephony.MmsProvider
I(  216:0xd8) Pub sms: com.android.providers.telephony.SmsProvider
I(  216:0xd8) Pub telephony:
com.android.providers.telephony.TelephonyProvider
I(  216:0xd8) Pub icc: com.android.phone.IccProvider
I(  216:0xd8) Pub mms-sms:
com.android.providers.telephony.MmsSmsProvider
D(  258:0x102) DexOpt: load 321ms, verify+opt 544ms
D(   36:0x24) DexInv: --- END '/system/app/SystemUI.apk' (success) ---
D(   83:0xc5) GREF has increased to 201
D(   36:0x24) DexInv: --- BEGIN '/system/app/Provision.apk' ---
D(  259:0x103) DexOpt: load 76ms, verify+opt 79ms
D(   36:0x24) DexInv: --- END '/system/app/Provision.apk' (success)
---
W(   83:0xd4) Could not open GPS configuration file /etc/gps.conf
D(  217:0xdd) GC_CONCURRENT freed 426K, 39% free 3468K/5639K, external
716K/1038K, paused 6ms+59ms
D(  216:0xdf) GC_CONCURRENT freed 294K, 37% free 3617K/5703K, external
716K/1038K, paused 6ms+34ms
I(   83:0x59) Start proc android.process.acore for content provider
com.android.providers.userdictionary/.UserDictionaryProvider: pid=267
uid=10006 gids={3003, 1015}
W(   83:0x53) dataChanged but no participant
pkg='com.android.providers.settings' uid=10019
D(  220:0xe0) GC_CONCURRENT freed 405K, 40% free 3438K/5639K, external
...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »