Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:lynusvaz:journal:week3 [2009/06/10 00:02]
lynusvaz
soc:2009:lynusvaz:journal:week3 [2009/06/15 22:45] (current)
lynusvaz
Line 11: Line 11:
  
 June 9: Continued working on the string support. Removed the obvious bugs, and it seems to work properly now. I will also have to think about quoting. June 9: Continued working on the string support. Removed the obvious bugs, and it seems to work properly now. I will also have to think about quoting.
 +
 +June 10: Commit: [[http://​git.etherboot.org/?​p=people/​lynusvaz/​gpxe.git;​a=commit;​h=8e9d952f1a67b0c2e7a9f61605d589614e5e8a48| 8e9d952f1a67b0c2e7a9f61605d589614e5e8a48]]
 +
 +June 11: Worked on fixing memory leaks. Latest code [[http://​git.etherboot.org/?​p=people/​lynusvaz/​gpxe.git;​a=commit;​h=709a46ac676cb9010490f9c67efc5a65fedb15f7|here]].
 +
 +June 12: The arithmetic parser is almost done. I installed valgrind, to help with the dynamic allocation/​deallocation checks. It uncovered a few cases I had not thought about. So, these have been fixed. Also, I have tried to modify my coding style according to the style used in gPXE. The latest commit is [[http://​git.etherboot.org/?​p=people/​lynusvaz/​gpxe.git;​a=commit;​h=d027ad06ce1a0f0983ea9151785d723215a9ab04|here]].
 +
 +June 13: Used gcov and valgrind together to test my code. I compile just the parser, like so:
 +   gcc -fprofile-arcs -ftest-coverage -D__ARITH_TEST__ arith.c -g
 +and then use valgrind to check for any memory leaks:
 +  valgrind --leak-check=yes --leak-check=full --show-reachable=yes ./a.out
 +Then with gcov, I find the code coverage:
 +  gcov arith.c
 +This then creates the file arith.c.gcov,​ which gives me a count of the times each line has been executed. Based on this, I can see whether all significant code is being tested, and whether I need some more test cases.
 +Weekly meeting today. Discussed this week's progress and the plan for next week. Next week's goal is to implement string quoting. I'll be putting up the ideas on my [[http://​etherboot.org/​wiki/​soc/​2009/​lynusvaz/​notes/​start|notes]] page.
 +
 +June 14: Today went mostly into packing for the journey home. Couldn'​t do any work today.

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code soc:2009:lynusvaz:journal:week3 (generated for current page)