I used the
file command in Linux to get information about a binary file. I am also looking for the addresses that these calls are located at. I think I can get this information from GDB or
objdump but I am not very good with Linux commands and programs yet so any help is much appreciated. The output from the file command is below:
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x6d232dd468b2344847a4b9c81eb064ffe257d5d0, stripped
Then using the
strings command I got this output (I see several C function calls but which are external ?):
/lib/ld-linux.so.2 -#mH4 __gmon_start__ libc.so.6 _IO_stdin_used exit strncmp strncpy puts printf malloc atoi __libc_start_main GLIBC_2.0 PTRh QVh> UWVS [^_] testing strncmp: %s; atoi Complete ;*2$"