DRAGON2002's Blog

Weekly Blog Post #4

DRAGON2002
Published: 07/16/2022

Hello! My name is Anant Vijay, a sophomore pursuing Computer Science and Engineering. I will be adding support for improving the detection capabilities for CVE Binary Tool during Google Summer of Code 2022.

What did I do this week?

I spent the week refactoring the remaining language parsers, namely the Java and Python parsers. The refactor had led to various bugs in the code and hence had to spent a lot of time removing those. Refactoring all the parsers led me to new efficient abstraction ideas which I have discussed with my mentors and would be implementing them on a later date. 

What is coming up next?

In the coming week I will be improving the tests for the existing language parsers as well as start working on the proposed API which would further simplify the process of using language parsers.

Did I get stuck anywhere?

I did not get stuck anywhere this week and was able to handle everything easily.

View Blog Post

Weekly Blog Post #3

DRAGON2002
Published: 07/16/2022

Hello! My name is Anant Vijay, a sophomore pursuing Computer Science and Engineering. I will be adding support for improving the detection capabilities for CVE Binary Tool during Google Summer of Code 2022.

What did I do this week?

I spent the week adding support for a new language, namely Rust, I went through multiple Cargo.lock files in order to understand what parsing method had to be followed in order to extract the product and version information. After the parser was added I added tests for the Rust parser as well and updated the documents to reflect the newly supported language.

What is coming up next?

In the coming week I will be refactoring the remaining language parsers to the new format and fix any bugs that may be caused because of this refactor.

Did I get stuck anywhere?

I did not get stuck anywhere this week and was able to handle everything easily.

View Blog Post

Weekly Blog Post #2

DRAGON2002
Published: 07/16/2022

Hello! My name is Anant Vijay, a sophomore pursuing Computer Science and Engineering. I will be adding support for improving the detection capabilities for CVE Binary Tool during Google Summer of Code 2022.

What did I do this week?

I spent the week refactoring the JavaScript language parser to the parser parent class format and then improving upon the structure of the base class as well as the tests. The parser works exactly as expected and proved to be a model case for the community to see how exactly the parsers are going to turn out after the entire refactoring process is done.

What is coming up next?

In the coming week I will be adding support for a new language, namely Rust, which will be directly added to the new parser format, hence acting as a demonstration of how easy it would be to add support for new parsers.

Did I get stuck anywhere?

I got stuck in the thought of improving the abstraction so much that the base parser class itself had become extremely complex, hence had to get rid of it entirely and restructure the class from the ground up. My mentors were extremely helpful and patient with me for this hence was able to resolve this quickly.

View Blog Post

Weekly Blog Post #1

DRAGON2002
Published: 07/16/2022

Hello! My name is Anant Vijay, a sophomore pursuing Computer Science and Engineering. I will be adding support for improving the detection capabilities for CVE Binary Tool during Google Summer of Code 2022.

What did I do this week?

I spent most of the week going through the currently existing parsers in extreme detail in order to find out the common factors so that I could abstract those away, I discussed my findings with the mentors and finally came up with a very basic bare bones structure for what the parent parser class should look like.

What is coming up next?

In the coming week I will be finalizing the structure of the parser class for the time being based on my findings, and as suggested by my mentors will also be refactoring an existing parser to the new format as a proof of concept and for testing.

Did I get stuck anywhere?

I did not get stuck anywhere this week and was able to handle everything easily.

View Blog Post