Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #192466

strace (brk) output - how to interpret this?

From kjonca@poczta.onet.pl (Kamil Jońca)
Newsgroups linux.debian.user
Subject strace (brk) output - how to interpret this?
Date 2018-02-15 20:50 +0100
Message-ID <vjxHA-70W-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Recently I have to debug some program and got one line 

--8<---------------cut here---------------start------------->8---
execve("..something...") 
brk(NULL)                               = 0x5564a8662000
--8<---------------cut here---------------end--------------->8---
surprised me
I understand that brk (NULL) is called to get current break value but
return value is far too high for me. Can anybody explain this?
KJ


-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
"Ninety percent of baseball is half mental."
		-- Yogi Berra

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

strace (brk) output - how to interpret this? kjonca@poczta.onet.pl (Kamil Jońca) - 2018-02-15 20:50 +0100
  Re: strace (brk) output - how to interpret this? Don Armstrong <don@debian.org> - 2018-02-15 23:20 +0100

csiph-web