docstrings: improve wording

This commit is contained in:
Willi Ballenthin
2023-08-10 11:36:51 +02:00
committed by GitHub
parent 681d4fb007
commit 582bb7c897
2 changed files with 4 additions and 4 deletions

View File

@@ -328,7 +328,7 @@ class CallHandle:
reference to an api call extracted by the sandbox.
Attributes:
address: call's id address
address: call's address, such as event index or id
inner: sandbox-specific data
"""
@@ -445,8 +445,8 @@ class DynamicFeatureExtractor:
) -> Iterator[Tuple[Feature, Address]]:
"""
Yields all features of a call. These include:
- api's
- arguments
- api name
- bytes/strings/numbers extracted from arguments
"""
raise NotImplementedError()

View File

@@ -22,7 +22,7 @@ logger = logging.getLogger(__name__)
def get_threads(behavior: Dict, ph: ProcessHandle) -> Iterator[ThreadHandle]:
"""
get a thread's child processes
get the threads associated with a given process
"""
process = capa.features.extractors.cape.helpers.find_process(behavior["processes"], ph)