binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Remove param name hint on ref to var with same name

Open emesare opened this issue 1 year ago • 1 comments

When param name hinting is on the current behavior will remove the hint on params where the var passed has the same name as the parameter. We could expand this to remove hints on the same var names but passed as a reference.

Current behavior:

__libc_start_main(main: main, argc: __return_addr.d, ubp_av: &ubp_av, init: nullptr, fini: nullptr, rtld_fini: arg3, stack_end: &stack_end)

Requested behavior

__libc_start_main(main: main, argc: __return_addr.d, &ubp_av, init: nullptr, fini: nullptr, rtld_fini: arg3, &stack_end)

emesare avatar May 10 '24 00:05 emesare

This will ultimately be extended to cover same name fields and same name pointers

emesare avatar May 10 '24 20:05 emesare

Added in 4.1.5302

emesare avatar May 21 '24 21:05 emesare