栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

移动安全工具-FLowDroid

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

移动安全工具-FLowDroid

1 需求


2 语法

usage: soot-infoflow-cmd [OPTIONS]
 -?,--help                                Print this help message
 -a,--apkfile                        APK file to analyze
 -aa,--aliasalgo                     Use the specified aliasing
                                          algorithm (NONE, FLOWSENSITIVE,
                                          PTSBASED, LAZY)
 -ac,--additionalclasspath           Additional JAR file that shal be
                                          put on the classpath
 -af,--aliasflowins                       Use a flow-insensitive alias
                                          analysis
 -al,--aplength                      Maximum access path length
 -c,--configfile                     Use the given configuration file
 -ca,--callbackanalyzer              Use the specified callback
                                          analyzer (DEFAULT, FAST)
 -ce,--codeelimination               Use the specified code
                                          elimination algorithm (NONE,
                                          PROPAGATECONSTS, REMOVECODE)
 -cf,--callgraphdir                  The file in which to store and
                                          from which to read serialized
                                          callgraphs
 -cg,--cgalgo                        Callgraph algorithm to use
                                          (AUTO, CHA, VTA, RTA, SPARK,
                                          GEOM)
 -cp,--paths                              Compute the taint propagation
                                          paths and not just
                                          source-to-sink connections. This
                                          is a shorthand notation for -pr
                                          fast.
 -cs,--callbacksourcemode            Use the specified mode for
                                          defining which callbacks
                                          introduce which sources (NONE,
                                          ALL, SOURCELIST)
 -ct,--callbacktimeout               Timeout for the callback
                                          collection phase
 -d,--mergedexfiles                       Merge all dex files in the given
                                          APK file into one analysis
                                          target
 -ds,--dataflowsolver                Use the specified data flow
                                          solver (CONTEXTFLOWSENSITIVE,
                                          FLOWINSENSITIVE)
 -dt,--timeout                       Timeout for the main data flow
                                          analysis
 -ff,--analyzeframeworks                  Analyze the full frameworks
                                          together with the app without
                                          any optimizations
 -i,--implicit                       Use the specified mode when
                                          processing implicit data flows
                                          (NONE, ARRAYONLY, ALL)
 -im,--iccmodel                      File containing the
                                          inter-component data flow model
                                          (ICC model)
 -l,--layoutmode                     Mode for considerung layout
                                          controls as sources (NONE, PWD,
                                          ALL)
 -ls,--logsourcesandsinks                 Write the discovered sources and
                                          sinks to the log output
 -mc,--maxcallbackspercomponent      Eliminate Android components
                                          that have more than the given
                                          number of callbacks
 -md,--maxcallbacksdepth             Only analyze callback chains up
                                          to the given depth
 -ms,--missingsummariesoutputfile    Outputs a file with information
                                          about which summaries are
                                          missing
 -mt,--maxthreadnum                  Limit the maximum number of
                                          threads to the given value
 -nc,--nocallbacks                        Do not analyze Android callbacks
 -ne,--noexceptions                       Do not track taints across
                                          exceptional control flow edges
 -np,--noiccresultspurify                 Do not purify the ICC results,
                                          i.e., do not remove simple flows
                                          that also have a corresponding
                                          ICC flow
 -nr,--nothischainreduction               Disable reduction of inner class
                                          chains
 -ns,--nostatic                           Do not track static data flows
 -nt,--notypechecking                     Disable type checking during
                                          taint propagation
 -o,--outputfile                     Output XML file for the
                                          discovered data flows
 -ol,--outputlinenumbers                  Enable the output of bytecode
                                          line numbers associated with
                                          sources and sinks in XML results
 -on,--originalnames                      Enable the usage of original
                                          variablenames if available
 -os,--onesourceatatime                   Analyze one source at a time
 -ot,--onecomponentatatime                Analyze one Android component at
                                          a time
 -p,--platformsdir                   Path to the platforms directory
                                          from the Android SDK
 -pa,--pathalgo                      Use the specified algorithm for
                                          computing result paths
                                          (CONTEXTSENSITIVE,
                                          CONTEXTINSENSITIVE, SOURCESONLY)
 -pr,--pathreconstructionmode        Use the specified mode for
                                          reconstructing taint propagation
                                          paths (NONE, FAST, PRECISE).
 -ps,--pathspecificresults                Report different results for
                                          same source/sink pairs if they
                                          differ in their propagation
                                          paths
 -r,--enablereflection                    Enable support for reflective
                                          method calls
 -rt,--resulttimeout                 Timeout for the result
                                          collection phase
 -s,--sourcessinksfile               Definition file for sources and
                                          sinks
 -sa,--singlejoinpointabstraction         Only use a single abstraction at
                                          join points, i.e., do not
                                          support multiple sources for one
                                          value
 -sf,--staticmode                    Use the specified mode when
                                          tracking static data flows
                                          (CONTEXTFLOWSENSITIVE,
                                          CONTEXTFLOWINSENSITIVE, NONE)
 -si,--skipapkfile                   APK file to skip when processing
                                          a directory of input files
 -sp,--sequentialpathprocessing           Process the result paths
                                          sequentially instead of in
                                          parallel
 -t,--taintwrapperfile               Definition file for the taint
                                          wrapper
 -tw,--taintwrapper                  Use the specified taint wrapper
                                          algorithm (NONE, EASY,
                                          STUBDROID, MULTI)
 -wj,--writejimplefiles              Write out the Jimple files
 -x,--callgraphonly                       Only compute the callgraph and
                                          terminate

3 示例


4 参考资料

GitHub - secure-software-engineering/FlowDroid: FlowDroid Static Data Flow Tracker

暑期编程PK赛 得CSDN机械键盘等精美礼品!
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/1017311.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号