Skip to content

Commit

Permalink
Update capa/features/extractors/common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
williballenthin authored Aug 23, 2024
1 parent a4f849c commit f0fc44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capa/features/extractors/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def extract_format(buf: bytes) -> Iterator[Tuple[Feature, Address]]:
# 1. handling a file format (e.g. macho)
#
# for (1), this logic will need to be updated as the format is implemented.
logger.debug("unknown file format: %s", binascii.hexlify(buf[:4]).decode("ascii"))
logger.debug("unknown file format: %s", buf[:4].hex())
return


Expand Down

0 comments on commit f0fc44e

Please sign in to comment.