Skip to Content
Embedded Linux for Developers
book

Embedded Linux for Developers

by Alexandru Vaduva, Alex González, Chris Simmonds
September 2016
Intermediate to advanced
989 pages
24h 10m
English
Packt Publishing
Content preview from Embedded Linux for Developers

Process memory map

You can see the memory map for a process through the proc filesystem. As an example, here is the map for the init process, PID 1:

# cat /proc/1/maps 00008000-0000e000 r-xp 00000000 00:0b 23281745 /sbin/init 00016000-00017000 rwxp 00006000 00:0b 23281745 /sbin/init 00017000-00038000 rwxp 00000000 00:00 0 [heap] b6ded000-b6f1d000 r-xp 00000000 00:0b 23281695 /lib/libc-2.19.so b6f1d000-b6f24000 ---p 00130000 00:0b 23281695 /lib/libc-2.19.so b6f24000-b6f26000 r-xp 0012f000 00:0b 23281695 /lib/libc-2.19.so b6f26000-b6f27000 rwxp 00131000 00:0b 23281695 /lib/libc-2.19.so b6f27000-b6f2a000 rwxp 00000000 00:00 0 b6f2a000-b6f49000 r-xp 00000000 00:0b 23281359 /lib/ld-2.19.so b6f4c000-b6f4e000 rwxp 00000000 00:00 0 b6f4f000-b6f50000 r-xp ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Embedded Linux Systems with the Yocto Project

Embedded Linux Systems with the Yocto Project

Rudolf J. Streif
Hands-On System Programming with Linux

Hands-On System Programming with Linux

Kaiwan N. Billimoria, Tigran Aivazian

Publisher Resources

ISBN: 9781787124202