Skip to content

Commit

Permalink
Improve devkits to expose Capstone on Linux
Browse files Browse the repository at this point in the history
Its symbols got prefixed but we failed to include forwarder-macros.
  • Loading branch information
oleavr committed Dec 9, 2020
1 parent e6f5aa3 commit bbc3c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releng/devkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def generate_library_unix(package, frida_root, host, flavor, output_dir, library
return (extra_flags, thirdparty_symbol_mappings)

def extract_public_thirdparty_symbol_mappings(mappings):
public_prefixes = ["g_", "glib_", "gobject_", "gio_", "gee_", "json_"]
public_prefixes = ["g_", "glib_", "gobject_", "gio_", "gee_", "json_", "cs_"]
return [(original, renamed) for original, renamed in mappings if any([original.startswith(prefix) for prefix in public_prefixes])]

def get_thirdparty_symbol_mappings(library, rc):
Expand Down

0 comments on commit bbc3c3a

Please sign in to comment.