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:
co-authored by
morluto
morluto
parent
d1e5c0e1fd
commit
5f3ba3e688
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user