about summary refs log tree commit diff stats
path: root/example/ida/depgraph.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-04-22 17:46:00 +0200
committerAjax <commial@gmail.com>2015-04-24 08:11:37 +0200
commitc090bf5343711729ea190efbfff34d28a2e0df45 (patch)
treeb701e96f7749a93ef155e582562672f394fc1c73 /example/ida/depgraph.py
parent8ed048f3bd64e51b4a508d90255e4fe4fe530b87 (diff)
downloadmiasm-c090bf5343711729ea190efbfff34d28a2e0df45.tar.gz
miasm-c090bf5343711729ea190efbfff34d28a2e0df45.zip
ExampleIDA: Add 'Implicit' option for depgraph
Diffstat (limited to 'example/ida/depgraph.py')
-rw-r--r--example/ida/depgraph.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/example/ida/depgraph.py b/example/ida/depgraph.py
index ae00c357..fcd87cb9 100644
--- a/example/ida/depgraph.py
+++ b/example/ida/depgraph.py
@@ -50,7 +50,8 @@ Track the element:
 
 Method to use:
 <Follow Memory:{rNoMem}>
-<Follow Call:{rNoCall}>{cMethod}>
+<Follow Call:{rNoCall}>
+<Implicit dependencies:{rImplicit}>{cMethod}>
 
 <Highlight color:{cColor}>
 """, {
@@ -60,7 +61,7 @@ Method to use:
                     selval=reg_default),
             'cMode': Form.RadGroupControl(("rBeforeLine", "rAfterLine",
                                            "rEndBlock")),
-            'cMethod': Form.ChkGroupControl(("rNoMem", "rNoCall")),
+            'cMethod': Form.ChkGroupControl(("rNoMem", "rNoCall", "rImplicit")),
             'iLineNb': Form.NumericInput(tp=Form.FT_RAWHEX,
                                          value=line_nb),
             'cbBBL': Form.DropdownListControl(
@@ -100,6 +101,7 @@ Method to use:
     def depgraph(self):
         value = self.cMethod.value
         return DependencyGraph(self.ira,
+                               implicit=value & 4,
                                follow_mem=value & 1,
                                follow_call=value & 2)