Dear All,
we have a tool called trace which takes a memory address as input and gives the function name corresponding to that as output.
I have a file which has around 200 addresses, which needs to be given as input to this trace tool.
I can start the tool in this way.
Code:
trace main.file.map
trace> 0x7831bc39
function_name_as_output
trace>
There is another file called address.txt from which I need to feed these addresses to this tool.
Manually it takes lot of time to give the addresses which are in other file one by one. I have idea about some basic awk one liners.
Can anybody help me to start the script.
Thanks