class: center, middle
- Introduction
- Deep-dive
| package research.nomad; | |
| import org.aspectj.lang.ProceedingJoinPoint; | |
| import org.aspectj.lang.annotation.Around; | |
| import org.aspectj.lang.annotation.Aspect; | |
| import org.aspectj.lang.reflect.MethodSignature; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.stereotype.Component; | |
| @Aspect |
| [Hierarchy] [HIER] All classes: 1474 | |
| [Hierarchy] [App: 68, Lib : 1340, Phantom: 66] | |
| [Hierarchy] [HIER] Activities: 4, lib activities: 4 | |
| [Hierarchy] [HIER] App views: 1, Lib views: 56 | |
| [Hierarchy] [HIER] App Dialogs: 0, Lib Dialogs: 3 | |
| [GUIAnalysis] [GUIAnalysis] Start | |
| [GUIAnalysis] [XML] Layout Ids: 222, Menu Ids: 2, Widget Ids: 361, String Ids: 83 | |
| [GUIAnalysis] [XML] MainActivity: cx.hell.android.pdfview.ChooseFileActivity | |
| [GUIAnalysis] [GUIAnalysis] End: 0.141477329 sec | |
| [GUIAnalysis] [WTGDemoClient] Start |
| from sklearn.feature_extraction import DictVectorizer | |
| from tqdm import tqdm_notebook | |
| from sklearn.metrics import confusion_matrix | |
| from sklearn.metrics import precision_recall_fscore_support | |
| from sklearn.model_selection import KFold, StratifiedKFold | |
| from sklearn import svm | |
| from sklearn.ensemble import RandomForestClassifier | |
| from sklearn.neighbors import KNeighborsClassifier | |
| from sklearn.utils import shuffle | |
| import glob |
| /* | |
| * This file is automatically generated by Swami | |
| * | |
| * 2019-04-27 17:02:48.128699 | |
| */ | |
| const assert = require('assert'); | |
| /* | |
| * |
| /* | |
| * | |
| * ABSTRACT FUNCTIONS IMPELEMTED USING DESCRIPTION FROM ECMA-262 | |
| * | |
| */ | |
| function RequireObjectCoercible(argument){ | |
| if (typeof argument == "undefined" || typeof argument == "null") | |
| throw new TypeError("TypeError in RequireObjectCoercible") | |
| else |
| // A | |
| std::vector<LINEITEM> _var45518 = (std::vector<LINEITEM>()); | |
| std::unordered_map<LINEITEM, int, _HashLINEITEM> _histogram45520 = (std::unordered_map<LINEITEM, int, _HashLINEITEM>()); | |
| for (LINEITEM _x45521 : _var5824) | |
| { | |
| std::unordered_map<LINEITEM, int, _HashLINEITEM>::iterator _map_iterator45530 = _histogram45520.find(_x45521); | |
| if ((_map_iterator45530 == _histogram45520.end())) | |
| { | |
| _map_iterator45530 = (_histogram45520.emplace(_x45521, 0).first); | |
| } |
| (.venv) (base) ➜ seguard-framework git:(master) ✗ SOURCE_SINK_FILE=$PWD/examples/sourcesAndSinks.xml PDECRYPT=0 STEPS=flowdroid ./tools/seguard examples/com.handmark.sportcaster-128.apk | |
| Preparing files | |
| + ./dex2jar -f /home/zgzhen/projects/seguard-framework/examples/com.handmark.sportcaster-128.apk -o /home/zgzhen/projects/seguard-framework/examples/com.handmark.sportcaster-128.jar | |
| 2019-03-21 13:41:16,981 root DEBUG try_call_std((['./dex2jar', '-f', '/home/zgzhen/projects/seguard-framework/examples/com.handmark.sportcaster-128.apk', '-o', '/home/zgzhen/projects/seguard-framework/examples/com.handmark.sportcaster-128.jar'],), {}) spent 6.64s | |
| + unzip -o /home/zgzhen/projects/seguard-framework/examples/com.handmark.sportcaster-128.jar -d /home/zgzhen/projects/seguard-framework/examples/com.handmark.sportcaster-128.jar.out | |
| 2019-03-21 13:41:17,453 root DEBUG try_call_std((['unzip', '-o', '/home/zgzhen/projects/seguard-framework/examples/com.handmark.sportcaster-128.jar', '-d', '/home/zgzhen/ |
| #pragma once | |
| #include <algorithm> | |
| #include <set> | |
| #include <functional> | |
| #include <vector> | |
| #include <unordered_set> | |
| #include <string> | |
| #include <unordered_map> | |
| #include <string> |