mirror of
https://github.com/androguard/androguard.git
synced 2024-10-07 02:03:30 +00:00
fix docstrings because MethodAnalysis xref_to functions handle a MethodAnalysis object, not an EncodedMethod or ExternalMethod
This commit is contained in:
parent
722ce173d8
commit
ce9861ca4e
@ -511,7 +511,7 @@ class MethodAnalysis:
|
||||
(this method calls another method)
|
||||
|
||||
:param classobj: :class:`~ClassAnalysis`
|
||||
:param methodobj: :class:`~androguard.core.bytecodes.dvm.EncodedMethod`
|
||||
:param methodobj: :class:`~MethodAnalysis`
|
||||
:param offset: integer where in the method the call happens
|
||||
"""
|
||||
self.xrefto.add((classobj, methodobj, offset))
|
||||
@ -546,8 +546,8 @@ class MethodAnalysis:
|
||||
|
||||
The list of tuples has the form:
|
||||
(:class:`~ClassAnalysis`,
|
||||
:class:`~androguard.core.bytecodes.dvm.EncodedMethod` or
|
||||
:class:`~ExternalMethod`, :class:`int`)
|
||||
:class:`~MethodAnalysis`,
|
||||
:class:`int`)
|
||||
"""
|
||||
return self.xrefto
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user