Setting up a Windows VM for Kernel Debugging

March 12, 2019 |  driver  debug  windows  kernel  windbg 
If you search the web using the title of this post, you'll get many links to articles most of which explain how to set this up using a virtual COM port on the VM. Coming from driver background that goes back over 20 years, at first this seemed quite natura

Javascript Promises

March 5, 2019 |  JavaScript  Promise  TypeScript 
While explaining Promises to a friend I remembered reading a blog post couple of years back that explained the concept very well and made it all clear to me. However, I never bookmarked and searching for it, I can't find the specific post. Then I thought w

Setting up OS X for kernel debugging

Jan. 26, 2019 |  driver  debug  osx  kext  gdb  kernel  lldb  mac 
Here are the steps to prepare an OS X system for debugging kernel modules such as drivers. The instructions are deliberately brief to save the reader from tons of text. If you search the web, you will come across may resources that point to using GDB to de

How to view kernel logs in OS X

Jan. 19, 2019 |  log  driver  osx  iokit  mac 
How to view kernel logs is OS X You can use the command line tool `log` for this. This command accepts a predicate argument that can be used to , well build predicates, that when evaluates to true, the log message will be printed. It takes a command argume

Ionic 4 HTTP CORS Issue

Nov. 7, 2018 |  ionic  ionic4  cordova 
Ionic 4 also makes a fundamental change in how the created app is rendered (I use rendered as apps are essentially HTML which is rendered using the native WebView control of the device's UI framework) in a device. While earlier versions used to refer to th