Use case: I am dealing with a crackme that uses MFC, and the import functions are all like Ordinal_mfc140ud_9386. I loaded the MFC DLL in binja and applied the PDB. We can see that ordinal 9386 is function CWnd::GetWindowTextW. If I can search for exports by ordinal, it would be easier for me to match the ordinal with its name.
Sometimes we wish to search the imports/exports by ordinal, but right now it does not work -- it only searches for the name of the symbol: https://github.com/Vector35/binaryninja-api/blob/e280f8d5b348808a06d73e7a5db91e13b58d2c16/examples/triage/exports.cpp#L229
Use case: I am dealing with a crackme that uses MFC, and the import functions are all like
Ordinal_mfc140ud_9386
. I loaded the MFC DLL in binja and applied the PDB. We can see that ordinal 9386 is functionCWnd::GetWindowTextW
. If I can search for exports by ordinal, it would be easier for me to match the ordinal with its name.