Skip to content

Commit

Permalink
Tweak style
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr authored Oct 18, 2024
1 parent 4b2a508 commit edea1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frida_tools/apk.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def insert_debuggable(self, name: int, resource_map: ResourceMap) -> None:
attr_offset = None
replace = False
for insert_pos in range(self.attribute_count + 1):
attr_offset = 0x24 + struct.calcsize(self.ATTRIBUTE_FORMAT) * insert_pos
attr_offset = 0x24 + insert_pos * struct.calcsize(self.ATTRIBUTE_FORMAT)
idx = int.from_bytes(chunk_data[attr_offset + 4 : attr_offset + 8], "little")
res = resource_map.get_resource(idx)
if res >= ResourceMap.DEBUGGING_RESOURCE:
Expand Down

0 comments on commit edea1e2

Please sign in to comment.