Bug Description:
While viewing decompilation of a function that utilizes a ws2_32.dll import, Binary Ninja seems to not be able to deduce the correct imported function. The ordinal is also shown to be negative within the output. I had my friend compare this output within an instance of IDA Pro, and he was able to confirm that the functions are ws2_32!socket and ws2_32!gethostbyname.
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:
Version and Platform (required):
Bug Description: While viewing decompilation of a function that utilizes a
ws2_32.dll
import, Binary Ninja seems to not be able to deduce the correct imported function. The ordinal is also shown to be negative within the output. I had my friend compare this output within an instance of IDA Pro, and he was able to confirm that the functions arews2_32!socket
andws2_32!gethostbyname
.Steps To Reproduce: Please provide all steps required to reproduce the behavior:
Expected Behavior: The first call should be resolved to
socket
, and the second call should be resolved togethostbyname
.Screenshots: