Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
936 stars 212 forks source link

Add the ability to export unexported functions #4718

Open tur11ng opened 1 year ago

tur11ng commented 1 year ago

What is the feature you'd like to have? The feature is mainly stated in the title. This should be very helpful for function hooking and will automate a very painful task.

xusheng6 commented 1 year ago

Hi @tur11ng could you please explain what do you mean by "exporting a function"? Suppose it is a PE file, do you mean to change the executable and add the function to export table? That would be a rather complex change and one we are unlikely to add in the near future.

plafosse commented 1 year ago

So #27 is a likely prerequisite to this. Its not an easy task at all as you might have to move code around to do it, which could mean modifying relocations which can be really tedious. We don't have any plans to do this any time soon.