Extending r2 with new plugins

One of the key features behind r2 is how easily it can be extended with new libraries or plugins. In this blopost, we’ll see the steps to add a new plugin in radare2. Let’s say we want to add a new plugin for r_asm because we are working with binaries of an architecture not supported by r2. Of course, adding a new plugin for another lib would be mostly the same.