King_julian has quit [Read error: Connection reset by peer]
zxcvz has quit [Client Quit]
King_julian has joined #commonlisp
admich1 has joined #commonlisp
pkal has joined #commonlisp
apac has joined #commonlisp
dra has joined #commonlisp
rgherdt has quit [Ping timeout: 260 seconds]
treflip has joined #commonlisp
rgherdt has joined #commonlisp
mesaoptimizer has quit [Ping timeout: 256 seconds]
mesaoptimizer has joined #commonlisp
chomwitt has joined #commonlisp
kchanqvq has quit [Ping timeout: 250 seconds]
kchanqvq7 has joined #commonlisp
kchanqvq7 has quit [Client Quit]
kchanqvq has joined #commonlisp
pkal has quit [Ping timeout: 260 seconds]
ewig has joined #commonlisp
Th30n has joined #commonlisp
X-Scale has joined #commonlisp
pestctrl has joined #commonlisp
cercopith has quit [Remote host closed the connection]
cercopith has joined #commonlisp
Lycurgus has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 258 seconds]
Lord_of_Life has joined #commonlisp
cmack has joined #commonlisp
attila_lendvai has quit [Ping timeout: 248 seconds]
rgherdt has quit [Ping timeout: 260 seconds]
lcn_ has joined #commonlisp
rgherdt has joined #commonlisp
jonatack has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 260 seconds]
decweb has joined #commonlisp
pkal has joined #commonlisp
brokkoli_origin has joined #commonlisp
cdegroot has quit [Ping timeout: 260 seconds]
rendar has quit [Read error: Connection reset by peer]
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
shka has joined #commonlisp
mange has quit [Remote host closed the connection]
admich1 has quit [Ping timeout: 255 seconds]
admich1 has joined #commonlisp
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
Posterdati has quit [Remote host closed the connection]
Posterdati has joined #commonlisp
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
gooba has quit [Remote host closed the connection]
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
gooba has joined #commonlisp
varjag has joined #commonlisp
gooba` has joined #commonlisp
gooba` has quit [Remote host closed the connection]
gooba has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
gooba has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
alhazraed has joined #commonlisp
mrvdb has joined #commonlisp
mrvdb- has quit [Ping timeout: 256 seconds]
gooba has quit [Remote host closed the connection]
molson_ has joined #commonlisp
molson has quit [Ping timeout: 256 seconds]
cdegroot has joined #commonlisp
gooba has joined #commonlisp
gilberth has joined #commonlisp
LainIwakura has joined #commonlisp
chomwitt has quit [Ping timeout: 255 seconds]
pestctrl has quit [Remote host closed the connection]
X-Scale has quit [Ping timeout: 248 seconds]
chomwitt has joined #commonlisp
apac has quit [Ping timeout: 256 seconds]
LainIwakura has quit [Ping timeout: 250 seconds]
chomwitt has quit [Ping timeout: 260 seconds]
treflip has quit [Ping timeout: 260 seconds]
pestctrl has joined #commonlisp
X-Scale has joined #commonlisp
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
pestctrl has quit [Remote host closed the connection]
pestctrl has joined #commonlisp
buffet has quit [Remote host closed the connection]
buffet has joined #commonlisp
pestctrl has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 244 seconds]
apac has joined #commonlisp
molson_ has quit [Quit: Leaving]
LainIwakura has joined #commonlisp
pkal has quit [Ping timeout: 256 seconds]
pestctrl has joined #commonlisp
LainIwakura has quit [Ping timeout: 250 seconds]
chomwitt has joined #commonlisp
molson has joined #commonlisp
LainIwakura has joined #commonlisp
X-Scale has quit [Ping timeout: 248 seconds]
apac has quit [Quit: Konversation terminated!]
<beach>
How do current Common Lisp implementations deal with ASLR?
<jackdaniel>
isn't it something performed by tge host os?
<jackdaniel>
also cl doesnot allow writing direcy to memory
LainIwakura has quit [Quit: Client closed]
<jackdaniel>
raw pointer that is
<beach>
The OS randomizes the address space, but I am wondering how the initial object graph is then customized to deal with the addresses having moved.
treflip has joined #commonlisp
<beach>
I can see two possibilities: 1. The Common Lisp system itself traverses the entire object graph at startup time.
apac has joined #commonlisp
<beach>
2. Every pointer is indicated in the ELF file as being subject to update by the dynamic linker.
<jackdaniel>
another option cl allocates big chunk of memory and operes "inside"
<beach>
I don't understand how that would work. Are you saying the object graph is created at startup time?
<jackdaniel>
yes
<beach>
Oh, wow!
<beach>
That seems to be what C++ does by default, which might explain why some applications have such long startup times.
<jackdaniel>
it isn't expensive
<jackdaniel>
a few packages, 1k symbols, while definitions may reside in static memory (and symbols are fixed tp it)
<jackdaniel>
some*, like standard functions
<beach>
What do you mean by "static memory"?
apac has quit [Ping timeout: 258 seconds]
<jackdaniel>
data segment and code segment
<beach>
That doesn't solve the problem though since the addresses to which those segments are mapped are changed by ASLR.
<beach>
Well, the code segment probably uses PC-relative addressing, so that's not a problem.
LainIwakura has joined #commonlisp
<beach>
I guess I should figure out how the C tool chain deals with statically defined structs and arrays and such. I can only see solution 2 for such cases.
Lycurgus has quit [Quit: alsoknownas.renjuan.org ( juan@acm.org )]
LainIwakura has quit [Ping timeout: 250 seconds]
pkal has joined #commonlisp
andrilu has joined #commonlisp
<pl>
beach: relocation by linker by static offset, text+BSS are loaded at random address *together*, so on AMD64 it's possible to use PC relative addressing
rgherdt has quit [Ping timeout: 256 seconds]
<pl>
Shared objects already used relocation or dlsym
<beach>
pl: That's what I thought which is solution 2.
<beach>
Oh, dinner. I'll be back tomorrow.
LainIwakura has joined #commonlisp
cage has joined #commonlisp
chomwitt has quit [Ping timeout: 256 seconds]
LainIwakura has quit [Client Quit]
andrilu has quit [Quit: Leaving]
andrilu has joined #commonlisp
treflip has quit [Ping timeout: 256 seconds]
ewig has quit [Remote host closed the connection]
admich1 has quit [Read error: Connection reset by peer]
LainIwakura has joined #commonlisp
rgherdt has joined #commonlisp
admich1 has joined #commonlisp
rendar has joined #commonlisp
X-Scale has joined #commonlisp
divlamir has quit [Read error: Connection reset by peer]
divlamir has joined #commonlisp
Lord_of_Life has quit [Remote host closed the connection]
Lord_of_Life has joined #commonlisp
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
gooba has quit [Remote host closed the connection]
divlamir_ has joined #commonlisp
gooba has joined #commonlisp
King_julian has quit [Read error: Connection reset by peer]
divlamir has quit [Ping timeout: 258 seconds]
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
gooba has quit [Remote host closed the connection]
King_julian has joined #commonlisp
gooba has joined #commonlisp
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
leeb_ has joined #commonlisp
leeb has quit [Ping timeout: 260 seconds]
chomwitt has joined #commonlisp
alhazraed has quit [Quit: Connection closed for inactivity]
andrilu has quit [Quit: Leaving]
kchanqvq16 has joined #commonlisp
kchanqvq has quit [Ping timeout: 250 seconds]
adrianbrink_ has joined #commonlisp
stylewarning_ has joined #commonlisp
greenfork_ has joined #commonlisp
larme_ has joined #commonlisp
pvac_ has joined #commonlisp
HerlockSholmes_ has joined #commonlisp
PuercoPop_ has joined #commonlisp
mcoll_ has joined #commonlisp
sm2n_ has joined #commonlisp
buffet_ has joined #commonlisp
drmeister_ has joined #commonlisp
kniffy^ has joined #commonlisp
entrotec has joined #commonlisp
iquites_ has joined #commonlisp
mustafa_ has joined #commonlisp
rootnode- has joined #commonlisp
sailorCa| has joined #commonlisp
adrianbrink has quit [Ping timeout: 248 seconds]
HerlockSholmes has quit [Ping timeout: 248 seconds]
iquites has quit [Ping timeout: 248 seconds]
stylewarning has quit [Ping timeout: 248 seconds]
rootnode has quit [Ping timeout: 248 seconds]
PuercoPop has quit [Ping timeout: 248 seconds]
sailorTheCat has quit [Ping timeout: 248 seconds]
buffet has quit [Ping timeout: 248 seconds]
mustafa has quit [Ping timeout: 248 seconds]
sm2n has quit [Ping timeout: 248 seconds]
PuercoPop_ is now known as PuercoPop
buffet_ is now known as buffet
larme has quit [Read error: Connection reset by peer]
mcoll has quit [Read error: Connection reset by peer]
pvac has quit [Read error: Connection reset by peer]
greenfork has quit [Read error: Connection reset by peer]
cow_2001 has quit [Ping timeout: 248 seconds]
kniffy has quit [Ping timeout: 248 seconds]
foretspa1sibles has quit [Ping timeout: 248 seconds]
drmeister has quit [Ping timeout: 248 seconds]
lieven has quit [Ping timeout: 248 seconds]
Mandus has quit [Ping timeout: 248 seconds]
stylewarning_ is now known as stylewarning
iquites_ is now known as iquites
pvac_ is now known as pvac
HerlockSholmes_ is now known as HerlockSholmes
kniffy^ is now known as kniffy
drmeister_ is now known as drmeister
adrianbrink_ is now known as adrianbrink
mustafa_ is now known as mustafa
larme_ is now known as larme
mcoll_ is now known as mcoll
greenfork_ is now known as greenfork
GreaseMonkey has quit [Read error: Connection reset by peer]
foretspa1sibles has joined #commonlisp
Mandus has joined #commonlisp
entro has quit [Read error: Connection reset by peer]
ol0ck has quit [Write error: Connection reset by peer]
cow_2001 has joined #commonlisp
greaser|q has joined #commonlisp
ol0ck has joined #commonlisp
apac has joined #commonlisp
sm2n_ is now known as sm2n
mal1 has joined #commonlisp
divlamir_ is now known as divlamir
chomwitt has quit [Ping timeout: 252 seconds]
cage has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
decweb has quit [Remote host closed the connection]
decweb has joined #commonlisp
inline has quit [Read error: Connection reset by peer]
inline has joined #commonlisp
pve has quit [Quit: leaving]
kchanqvq16 has quit [Quit: Ping timeout (120 seconds)]
kchanqvq16 has joined #commonlisp
chomwitt has joined #commonlisp
pkal has quit [Ping timeout: 248 seconds]
admich1 has quit [Read error: Connection reset by peer]
g-gundam has joined #commonlisp
kchanqvq16 has quit [Quit: Client closed]
kchanqvq16 has joined #commonlisp
admich1 has joined #commonlisp
rgherdt has quit [Remote host closed the connection]