/proc/kallsyms

62 views
Skip to first unread message

Sreedhar Manda

unread,
Jul 14, 2016, 1:59:40 AM7/14/16
to inside...@googlegroups.com

Hi All
I am working with one Linux based target device which doesn't have /proc/kallsyms file to get the addresses for couple of kernel symbols like kmalloc.

What are the possible ways to get the symbols addresses without rebuild the firmware.

Thanks
Sreedhar

Anil Kumar Pugalia

unread,
Jul 14, 2016, 2:20:33 AM7/14/16
to inside...@googlegroups.com
Check out the System.map file in the kernel source folder from where the kernel was built.

Regards
Anil
Passion: http://sysplay.in (Playing with Systems)
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sreedhar Manda

unread,
Jul 14, 2016, 4:53:28 AM7/14/16
to inside...@googlegroups.com

Thanks Anil.
It looks System.map file is not available.
Any other possibility...
I looked at below link for R6050 fw 1.0.0.34

http://kb.netgear.com/app/answers/detail/a_id/2649/~/netgear-open-source-code-for-programmers-(gpl)?cid=wmt_netgear_organic

Regards
Sreedhar

Anil Kumar Pugalia

unread,
Jul 16, 2016, 1:22:20 AM7/16/16
to inside...@googlegroups.com
Have you not built the firmware? Seems like not. Try objdump -d on the executable image.


Regards
Anil
Passion: http://sysplay.in (Playing with Systems)

Sreedhar Manda

unread,
Jul 16, 2016, 2:43:09 AM7/16/16
to inside...@googlegroups.com

Yes. I haven't built the firmware.
My req is how to get the addresses of couple of functions using readily available fw image and running target device.

You mean to say find using disassemble code which is generated by objdump -d

Regards
Sreedhar

Anil Kumar Pugalia

unread,
Jul 16, 2016, 2:58:00 AM7/16/16
to inside...@googlegroups.com
Yes

Passion: http://sysplay.in (Playing with Systems)

Sreedhar Manda

unread,
Jul 16, 2016, 5:02:38 AM7/16/16
to inside...@googlegroups.com

Okay. Thanks Anil.
Monday I will check disassemble code whether I can find the symbol addresses or not.
Please let me know if there are any other possible ways...

Regards
Sreedhar

Reply all
Reply to author
Forward
0 new messages