c++symbolsmemcpypdb-filesdumpbin

Why isn't memcpy in the import table?


I was playing with a pdb generated by Visual Studio when I saw memcpy in the list of symbols so I used dumpbin to inspect the import table in the executable but there was no reference to memcpy there.

Isn't memcpy a function exported from crt library? If so, why don`t I see it in the output of dumpbin?


Solution

  • memcpy is often treated as an intrinsic, especially when copying small items, and thus is compiled entirely as inline code.

    Try copying something larger. Then you might see it in the import table.