Week 1: Adding tests in Extractor module
yashugarg
Published: 07/24/2022
Hello there!
The first week of coding was exciting as I officially started working on the project!
What did I do this week?
Before the GSoC period stated, I had implemented support for .pkg and .tar.zst archives for the tool, which are package distribution files for FreeBSD and ArchLinux operating systems. This week I finished writing the tests for these archive extractors and saw that it had almost a 1% impact on the total test coverage of the project.
While running these new tests on Windows, I noticed that the tar command is very slow on Windows. So I went ahead and reorganized the choice of extraction methods for pkg files based on the current operating system.
What is coming up next?
After a brief discussion with the mentors, I suggested starting the work in modules with no test coverage. Since they need to be implemented from scratch and require less work to look back to, they are supposedly easier to start with. I decided to take up format_checkers.py, an untested module that I have worked on before.
Did I get stuck anywhere?
No, I did not get stuck anywhere this week!
Yashu Garg
19/06/2022
View Blog Post
Week 0: Checking In!
yashugarg
Published: 07/24/2022
Hello there!
I am Yashu Garg, an engineering undergrad from the University of Delhi. As part of GSoC'22, I will be contributing to Intel's CVE Binary Tool. I'll be enhancing the test coverage and implementing fuzzing into the project!
In this last week of the Community Bonding Period, I tried to get ahead of schedule and begin early. Since this is my first time working on a security and vulnerability project, I thought a headstart would be helpful.
I worked on writing tests for the Archive Extractor and tried to solve the problems I noticed with the module. I reorganized the tools used to optimize their functioning on Windows and Linux.
My experience with unit testing and mocking is still limited, but I see GSoC as an opportunity to learn new things and not just implement what I know.
I am still a little intimidated by the technologies to be used and implemented, but I am sure that with enough time and focus, I will be able to execute my project nicely!
Yashu Garg
12/06/2022
View Blog Post