klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
thinkpol has quit [Remote host closed the connection]
thinkpol has joined #osdev
itrsea has quit [Quit: leaving]
theruran has quit [Quit: Connection closed for inactivity]
mrpops2ko has quit [Ping timeout: 248 seconds]
itrsea has joined #osdev
mrpops2ko has joined #osdev
averymt_ has joined #osdev
nur has quit [Quit: Leaving]
averymt has quit [Ping timeout: 252 seconds]
gog has quit [Quit: byee]
jcea has quit [Ping timeout: 276 seconds]
vdamewood has joined #osdev
\Test_User has quit [Ping timeout: 252 seconds]
\Test_User has joined #osdev
edr has quit [Quit: Leaving]
Bonstra has quit [Ping timeout: 265 seconds]
Bonstra has joined #osdev
averymt_ is now known as averymt
dude12312414 has quit [Remote host closed the connection]
dude12312414 has joined #osdev
xvmt has quit [Read error: Connection reset by peer]
xvmt has joined #osdev
<chiselfuse> does doing `/usr/lib/ld-linux-x86-64.so.2 --argv0 elf_file elf_file foo bar` result in the exact same image/entry that would result from doing `elf_file foo bar` given that `elf_file` has `/usr/lib/ld-linux-x86-64.so.2` set as its interpreter? or are there subtle differences?
<Mutabah> I think it's the same? I've use a similar trick to run apps in a different environment (e.g. compiled for a different glibc)
<chiselfuse> i have an idea
<chiselfuse> i'll load both in gdb and break at the entry address
<chiselfuse> but wait, when i do `elf_file foo bar` can i tell it to break at the entry address of ld.so?
<chiselfuse> perhaps if i turn off aslr, check the address, then execute again with a breakpoint there?
<chiselfuse> but then that would write an INT3 and get rewritten when it mmaps ld.so over it, wouldn't it?
<chiselfuse> oh i forgot to say i'd then dump both memory images and compare them to check if they result in the same one
<chiselfuse> man i hate gdb
<chiselfuse> there is no distinction of what inferior, target or anything are
<chiselfuse> haywire
hazard_hitman has quit [Quit: Konversation terminated!]
Goodbye_Vincent1 has joined #osdev
karenw has quit [Ping timeout: 248 seconds]
<chiselfuse> okay i did it
<chiselfuse> so why is it that when i let the kernel figure out the interpreter, the main elf is mmaped immediately before the _start of the interpreter?
<chiselfuse> btw i double checked and 0x7ffff7fe35c0 is indeed the _start of ld.so every time
<chiselfuse> i think i'm missing so much info
<chiselfuse> like why is ld.so always loaded in the 7fff* range even when i exec it directly
<chiselfuse> oh i guess that's just where the kernel loads PIEs that dont' have an interpreter
itrsea has quit [Quit: leaving]
osmten has joined #osdev
ThinkT510 has quit [Read error: Connection reset by peer]
k0valski18891621 has quit [Read error: Connection reset by peer]
liney has quit [Ping timeout: 244 seconds]
ThinkT510 has joined #osdev
liney has joined #osdev
goliath has joined #osdev
mrpops2ko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
netbsduser` has joined #osdev
innegatives has joined #osdev
netbsduser` has quit [Ping timeout: 248 seconds]
\Test_User has quit [Ping timeout: 276 seconds]
\Test_User has joined #osdev
Lucretia has joined #osdev
mrpops2ko has joined #osdev
mrpops2ko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mrpops2ko has joined #osdev
HD36079 has joined #osdev
GeDaMo has joined #osdev
gog has joined #osdev
jedesa has joined #osdev
Left_Turn has joined #osdev
gog has quit [Quit: byee]
nur has joined #osdev
innegatives has quit [Quit: Connection closed for inactivity]
goliath has quit [Quit: SIGSEGV]
goliath has joined #osdev
averymt has quit [Read error: Connection reset by peer]
averymt has joined #osdev
HD36079 has quit [Quit: Leaving]
innegatives has joined #osdev
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 268 seconds]
averymt_ has joined #osdev
averymt has quit [Ping timeout: 276 seconds]
_averymt has joined #osdev
_averymt has quit [Read error: Connection reset by peer]
_averymt has joined #osdev
averymt_ has quit [Ping timeout: 260 seconds]
osmten has quit [Quit: Client closed]
averymt has joined #osdev
_averymt has quit [Ping timeout: 276 seconds]
averymt has quit [Read error: Connection reset by peer]
averymt has joined #osdev
averymt_ has joined #osdev
averymt_ has quit [Read error: Connection reset by peer]
averymt has quit [Ping timeout: 260 seconds]
averymt has joined #osdev
averymt has quit [Read error: Connection reset by peer]
averymt has joined #osdev
averymt_ has joined #osdev
averymt has quit [Ping timeout: 276 seconds]
_averymt has joined #osdev
averymt_ has quit [Ping timeout: 276 seconds]
innegatives has quit [Quit: Connection closed for inactivity]
innegatives has joined #osdev
edr has joined #osdev
averymt_ has joined #osdev
_averymt has quit [Ping timeout: 260 seconds]
_averymt has joined #osdev
averymt_ has quit [Ping timeout: 260 seconds]
EmanueleDavalli has joined #osdev
_averymt is now known as averymt
averymt_ has joined #osdev
averymt has quit [Ping timeout: 260 seconds]
_averymt has joined #osdev
averymt_ has quit [Ping timeout: 252 seconds]
dude12312414 has quit [Ping timeout: 244 seconds]
averymt has joined #osdev
averymt_ has joined #osdev
_averymt has quit [Ping timeout: 260 seconds]
nur has quit [Remote host closed the connection]
nur has joined #osdev
averymt has quit [Ping timeout: 260 seconds]
kata has joined #osdev
kata has quit [Read error: Connection reset by peer]
_averymt has joined #osdev
averymt_ has quit [Ping timeout: 260 seconds]
kata has joined #osdev
kata has quit [Client Quit]
averymt_ has joined #osdev
kata has joined #osdev
averymt has joined #osdev
_averymt has quit [Ping timeout: 276 seconds]
averymt_ has quit [Ping timeout: 276 seconds]
averymt_ has joined #osdev
averymt has quit [Ping timeout: 276 seconds]
EmanueleDavalli has quit [Quit: Client closed]
_averymt has joined #osdev
_averymt has quit [Read error: Connection reset by peer]
averymt has joined #osdev
averymt_ has quit [Ping timeout: 268 seconds]
ekko has joined #osdev
averymt_ has joined #osdev
averymt has quit [Ping timeout: 260 seconds]
averymt has joined #osdev
kata has quit [Read error: Connection reset by peer]
averymt_ has quit [Read error: Connection reset by peer]
kata has joined #osdev
kata has quit [Client Quit]
kata has joined #osdev
kata has quit [Remote host closed the connection]
kata has joined #osdev
netbsduser` has joined #osdev
azonenberg has quit [Remote host closed the connection]
dude12312414 has joined #osdev
averymt_ has joined #osdev
kata has quit [Ping timeout: 248 seconds]
averymt has quit [Ping timeout: 260 seconds]
kata has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 244 seconds]
xenos1984 has quit [Ping timeout: 268 seconds]
xenos1984 has joined #osdev
_averymt has joined #osdev
averymt_ has quit [Read error: Connection reset by peer]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 248 seconds]
innegatives has quit [Quit: Connection closed for inactivity]
kata has quit [Read error: Connection reset by peer]
kata has joined #osdev
xenos1984 has quit [Ping timeout: 276 seconds]
kata has quit [Ping timeout: 244 seconds]
kata has joined #osdev
gog has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
_averymt has quit [Read error: Connection reset by peer]
_averymt has joined #osdev
_averymt has quit [Read error: Connection reset by peer]
_averymt has joined #osdev
averymt_ has joined #osdev
_averymt has quit [Ping timeout: 260 seconds]
zach has joined #osdev
vdamewood has quit [Quit: Life beckons]
innegatives has joined #osdev
_averymt has joined #osdev
averymt has joined #osdev
zach is now known as tuttza
averymt_ has quit [Ping timeout: 260 seconds]
_averymt has quit [Ping timeout: 260 seconds]
averymt_ has joined #osdev
averymt has quit [Ping timeout: 260 seconds]
<Ameisen> my dynamic recompiler is about one order of magnitude slower than host - 4s vs 32s. There might be other differences though.
Turn_Left has joined #osdev
averymt has joined #osdev
Left_Turn has quit [Ping timeout: 268 seconds]
averymt_ has quit [Ping timeout: 260 seconds]
averymt_ has joined #osdev
averymt has quit [Ping timeout: 260 seconds]
<geist> that seems not entirely out of the ordinary
netbsduser` has quit [Ping timeout: 248 seconds]
netbsduser` has joined #osdev
Gooberpatrol66 has quit [Quit: Konversation terminated!]
averymt_ has quit [Quit: Quit]
kata has quit [Read error: Connection reset by peer]
k0valski18891621 has joined #osdev
EmanueleDavalli has joined #osdev
kata has joined #osdev
<EmanueleDavalli> trying a first socket userspace program on my os, wish me luck
ekko has quit [Ping timeout: 276 seconds]
<Ameisen> geist: I'd still prefer faster, though. Typing build scripts with one hand is difficult.
<Ameisen> I know _why_ it's slower. loads and stores.
immibis has joined #osdev
<Ameisen> less for register accesses, and more normal ones. They all have overhead.