Bash on C steroids… Tavis Ormandy: Just when you thought we couldn’t take this any further…
Posted by jpluimers on 2016/11/12
Calling C libraries from bash with virtual automatic data conversion based on symbol info in the .so files.
Via: From the I wish it was PHP Dept: Calling native C functions from arbitrary shared libraries, using auto-generated marshaling relying on implementation details of bash associative arrays for member order preservation. “There’s enough data in the compiler debugging data for us to reconstruct the original types, so we parse it and translate it into a format that can be used in bash – It’s surprising how well this works!” The surprising thing is that works at all. – Kristian Köhntopp – Google+