HNHacker News
TopNewBestAskShowJobs

arbruijn

82 karma · joined April 23, 2013

submissionscomments
arbruijn··on rr – record and replay debugger for C/C++
VirGL might help, it redirects OpenGL calls over a socket. Start virgl_test_server and run your app with extra environment vars __GLX_VENDOR_LIBRARY_NAME=mesa LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=virpipe
arbruijn··on VirGL – A virtual 3D GPU for use inside QEMU virtual machines
There's also virgl_test_server which runs the virgl protocol over a socket.

This can be used for OpenGL inside containers, by bind mount-ing the socket into the container (/tmp/.virgl_test).

Also useful for debugging with rr, even with the nvidia driver you use OpenGL over virgl with the environment vars __GLX_VENDOR_LIBRARY_NAME=mesa LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=virpipe

arbruijn··on Show HN: Pickcode – A new way to introduce programming to kids
I had some success with https://microsoft.github.io/tilecode/ (fullscreen button in lower right, works best with gamepad / keyboard) and https://arcade.makecode.com/
arbruijn··on Unstripping Stripped Binaries
And for Ghidra https://github.com/cesena/ghidra2dwarf
arbruijn··on D2X-XL – an OpenGL modification of the classic video game Descent 2
I've fixed the narrow conversion error with newer compilers and added build instructions to the README.

Not sure what's up with libgomp.spec, it should be part of the gcc base package, at least on debian/ubuntu.

arbruijn··on D2X-XL – an OpenGL modification of the classic video game Descent 2
I have a version with working linux compilation and some other fixes here: https://github.com/arbruijn/d2x-xl/
arbruijn··on Activision Blizzard employees walk out over harassment and ‘frat boy’ culture
Temporary, Vendor or Contractor
arbruijn··on Glibc getaddrinfo stack-based buffer overflow
You can create a small chroot with a custom resolv.conf.

Example (tested on Ubuntu 14.04 64-bit):

  mkdir -p root/lib/x86_64-linux-gnu root/lib64 root/etc
  cp -a --parents /lib/x86_64-linux-gnu/lib{c,nss,resolv}* root
  cp /lib64/ld-linux-x86-64.so.2 root/lib64
  cp CVE-2015-7547-client root
  echo 'nameserver 127.0.0.1' > root/etc/resolv.conf
  sudo chroot root ./CVE-2015-7547-client
If it prints nothing it crashed. Try running with strace to be sure.