DWARF32 v.s. DWARF64 difference between DWARF32 and DWARF64 lies in that the size of the offset used for relocation, which allows us to overcome the limitation when the debug_info section size is too big. we can easily tell if the Continue reading
Relocation Trace continue looking at the relocation entry in .debug_loclists that references .debug_info as shown below we will start by examine the data from the offset that section .debug_loclists as the section is not compressed we can simply use readelf Continue reading
How it all started recently at work one of our heavy binary began to fail building in its Continuous Integration (CI) pipeline. linking error is a bit cryptic but basically you see something like below: ERROR: /..../BUILD: Linking ... failedmold: Continue reading
Motivation the other day I was trying to setup an automatic rsync job to sync data contents from prod to dev, due to the newly enforced policy that the same nfs storage can only be mounted in either prod or Continue reading
Overview Q/KDB is really popular and powerful and playing on REPL console is fun yet there are times you have to talk to a running Q/KDB using other approaches that makes best sense to you. In this post I Continue reading
Observation Recently I have been playing with Bazel as it seems more and more projects are moved to Bazel. While playing with the examples/cpp/helloworld that comes with the source code, I noticed my usual trick of touching a file does Continue reading
The ssh command we use can have a configured option to use proxy command to do the real connection,as described in this post:ssh through proxy. One of the proxy command is connect which is now moved to bitbucket:BitBucket Connect. The Continue reading
I have been playing recently with PyQ which is an interesting effort trying to get best of both worlds of Q and Python. There is also a good presentation for view at Exploring KDB+ Data in IPython Notebooks. Also kx.com has Continue reading
It starts with some colleague trying to manipulate LD_LIBRARY_PATH in his python scripts before importing a module. His shell starts up environment has a LD_LIBRARY_PATH setting which he would rather not change. But before loading a specific module that is Continue reading
It all starts with a mysterious crash that my colleague noticed when he runs the same server with the same setup on two different boxes (but with identical hardware) and one of them crashes every time while the other works Continue reading