Whatsup - לינוקס, תוכנה חופשית וקוד פתוח בעברית

שימוש מתקדם בלינוקס - read data to gdb conveniance var

Anonymous - 23/06/2019 - 00:12
נושא ההודעה: read data to gdb conveniance var
קוד:

hello all

i want to automate search in the heap through gdb
i cant access the heap starting point so i save the
info proc mappings to a file and i can grep +awk what i need and save it to a file
now i need to read the file content to a conveniance var but have no luck
the command:shell grep heap map.txt|awk '{print "set $a=(long)"$1}'
not access the conveniance var apperently
and i dont' know how to read a file and get the data to a conveniance var
can someone assist

כל הזמנים הם GMT + 2 שעות