To assign shortcuts to the accept and append actions, open the Keymap page of the IDE settings Control+Alt+S and locate these actions under Version Control Systems | Diff & Merge. Productivity tips Assign shortcuts for 'accept' and 'append' The whole source code of the extension is also available on GitHub under the MIT license.Select a modified file anywhere in the Version Control tool window. The following additional features are on my roadmap: Download it, give it a try, and tell me how you like it, and which features you want to see in future releases. You can find the extension directly within Visual Studio Code by searching for “vscode-binutils” or “sqlpassion” or at the Visual Studio Code Market Place. The extension currently parses the following information from ELF binary files: The extension currently supports the following CPU architectures: Therefore, I had to decide initially, which CPU architectures are supported by the extension, because each CPU architecture is handled in a different way when parsing an ELF file. But the ELF file format doesn’t care about such restrictions. As you know, Linux is used on so many different devices these days, and these devices are not always based on Intel/AMD CPU architectures. The great thing about the ELF file format is that you can store inside the file any kind of CPU instructions that you want. But trust me, there are some obscure scenarios that you must think about when parsing the file format. Implementing the extension wasn’t that hard because the ELF file format is very good documented. Therefore, I decided to build my own extension, which I can use to analyze binary files directly within Visual Studio Code.Īnd after 2 – 3 weeks of some work (and learning TypeScript!), I have released yesterday evening the first version of my extension to the Visual Studio Code Market Place. Unfortunately, I didn’t find any extension on the Visual Studio Code Market Place, that provides that feature set. Sometimes you also have to take one information from one tool and perform further analysis with it in another tool.īecause I’m a huge believer and a regular user of Visual Studio Code, I wanted to have that functionality directly available within Visual Studio Code. The “problem” of these tools is that they are command line tools, and text based. Linux provides you a lot of different tools with which you can analyze the structure of ELF files – mainly the tools readelf and objdump. For that reason, I had to fully understand the ELF file format, which is used on Linux for executable files (like the PE file format on Windows systems). One of my major interests was to understand the whole compilation and linking process (static & dynamic) of Linux binaries. The Windows Subsystem for Linux (WSL) is here a great help, because it gives me a fully working Linux distribution that is seamlessly integrated into Windows itself. This work helps me to better understand how Linux works, how SQL Server works on Linux (and on Docker), and it also helps me for further improving my own operating system implementation. As you know, I’m a crazy person, and I have done a lot of different computer science research projects like developing my own RISC-based CPU and implementing my own 圆4-based operating system. But over the last weeks and months, I have spent a lot of time doing some low-level research in the Linux Kernel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |