File deps.py changed (mode: 100755) (index 3bc84e3..46cb5cb) |
... |
... |
class function: |
99 |
99 |
def __str__(self): |
def __str__(self): |
100 |
100 |
return self.name |
return self.name |
101 |
101 |
|
|
102 |
|
def getFuncNm(line): |
|
103 |
|
parts = line.split() |
|
104 |
|
if len(parts) == 3 and parts[1] == 'T': |
|
105 |
|
return (IMPORT, parts[2]) |
|
106 |
|
elif len(parts) == 3 and parts[1] == 't': |
|
107 |
|
return (EXPORT, parts[2]) |
|
108 |
|
elif len(parts) == 2 and parts[0] == 'U': |
|
109 |
|
return (IMPORT, parts[1]) |
|
110 |
|
else: |
|
111 |
|
return (INVALID, None) |
|
112 |
|
|
|
113 |
102 |
def getFuncObjdump(line): |
def getFuncObjdump(line): |
114 |
103 |
parts = line.split() |
parts = line.split() |
115 |
104 |
if len(parts) == 6 and parts[1] == 'g' and parts[2] == 'F': |
if len(parts) == 6 and parts[1] == 'g' and parts[2] == 'F': |