Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
blattm committed Aug 21, 2024
1 parent e7a0832 commit 350b6a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decompiler/backend/cexpressiongenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def get_struct_string_address_offset(vartype) -> int | None:
Otherwise it returns None.
struct strings are structs comprising of a length and a pointer to string data.
The code does not assume whether data or length comes first. The loop is for determining the order.
"""
if not isinstance(vartype, Struct):
return None
Expand Down

0 comments on commit 350b6a8

Please sign in to comment.