fix(comparison): match generated names without swallowing symbol prefixes (#596)

* fix(comparison): match generated names without swallowing symbol prefixes

Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>

* test(comparison): cover symbol identity and callee dimensions

Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>

---------

Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
This commit is contained in:
Rudy Mizrahi Celekli
2026-10-06 01:57:20 +08:00
committed by GitHub
co-authored by morluto morluto
parent d1e5c0e1fd
commit 5f3ba3e688
3 changed files with 72 additions and 1 deletions
@@ -198,7 +198,7 @@ export const project = <Input, Output>(
): Output[] => collection.items.map(mapper);
export const isAutoName = (name: string): boolean =>
/^(?:sub_[0-9a-f]+|fcn\.)/iu.test(name);
/^(?:sub_[0-9a-f]+|fcn\.[0-9a-f]+)$/iu.test(name);
const parseAddress = (value: string): bigint | null =>
/^0x[0-9a-f]+$/iu.test(value) ? BigInt(value) : null;