We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a2025a commit 98e02ccCopy full SHA for 98e02cc
quark/utils/tools.py
@@ -44,6 +44,16 @@ def contains(subset_to_check, target_list):
44
45
46
def descriptor_to_androguard_format(descriptor):
47
+ """
48
+ Insert a space between the arguments of the given descriptor.
49
+
50
+ :param descriptor: a descriptor whose arguments may or may not be
51
+ separated by spaces
52
+ :raises ValueError: if the descriptor is not surrounded by
53
+ parentheses
54
+ :return: a descriptor with arguments separated by spaces
55
56
57
if "(" not in descriptor or ")" not in descriptor:
58
raise ValueError(f"Invalid descriptor. {descriptor}")
59
0 commit comments