Skip to content

Commit

Permalink
docstrings: improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin authored Aug 10, 2023
1 parent 681d4fb commit 582bb7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions capa/features/extractors/base_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

Expand Down Expand Up @@ -445,8 +445,8 @@ def extract_call_features(
) -> 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()

Expand Down
2 changes: 1 addition & 1 deletion capa/features/extractors/cape/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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)
Expand Down

0 comments on commit 582bb7c

Please sign in to comment.