fix(ghidra): classify modern Swift manglings in swift type analysis (#1208)
* fix(ghidra): classify modern Swift manglings in swift type analysis Categorize modern Swift 4.2+ manglings ($s, _$s) instead of dropping them in analyze_swift_types. The classifier only accepted the legacy _Tt marker, so procedure names reported by current providers produced an empty inventory. Legacy _Tt families and behavior are unchanged. Fixes #1187. * fix(swift): retain provider aliases and category unknowns --------- Co-authored-by: Saim Shafique <sx4imm@gmail.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
This commit is contained in:
co-authored by
Saim Shafique
morluto
parent
04a516b1e3
commit
6935dc7fe1
@@ -30,12 +30,14 @@ export const enhancedInputSchemas = {
|
||||
category: z
|
||||
.enum(["classes", "structs", "enums", "protocols", "extensions", "other"])
|
||||
.optional()
|
||||
.describe("Limit results to one Swift symbol category."),
|
||||
.describe(
|
||||
"Limit categorized results to one Swift category; unresolved category observations remain in unclassified.",
|
||||
),
|
||||
pattern: z
|
||||
.string()
|
||||
.optional()
|
||||
.describe(
|
||||
"Case-sensitive literal filter applied to mangled symbol names.",
|
||||
"Case-sensitive literal filter applied to provider procedure names and their supporting Swift manglings.",
|
||||
),
|
||||
}),
|
||||
find_xrefs_to_name: z.strictObject({ name: z.string() }),
|
||||
|
||||
Reference in New Issue
Block a user