lp:~achiang/+junk/valgrind-ubuntu-dbg-packages

Created by Alex Chiang on 2012-11-23 and last modified on 2012-11-23
Get this branch:
bzr branch lp:~achiang/+junk/valgrind-ubuntu-dbg-packages
Only Alex Chiang can upload to this branch. If you are Alex Chiang please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Alex Chiang
Status:
Development

Recent revisions

5. By Alex Chiang on 2012-11-19

Fix debug print statements

- Remove superfluous prints that existed to print empty lines
- When no debug package found, print full name of original package

4. By Alex Chiang on 2012-11-19

Remove iterative implementation of find_pkgs()

The previous commit proved they were equivalent, so now let's get rid
of the old one.

3. By Alex Chiang on 2012-11-19

Re-implement in functional style

I found the multiple "found = True" statements to be a bit ugly so
refactored into a functional implementation.

At the bottom, you see that I compare the package sets returned by
the two implementations, and the output on the console is:

set([])

Therefore, I claim the functional implementation is equivalent to the
iterative implementation.

2. By Alex Chiang on 2012-11-19

Parallel python and go implementations of valgrind-ubuntu-dbg-packages

These tools parse a valgrind log looking for unknown symbols. It then
attempts to find a corresponding Ubuntu package that might provide the
proper debug symbols, and finally recommends them for installation by
the user.

Usage:
  <script> <valgrind.log>

To build the go version:
  go build valgrind-ubuntu-dbg-packages.go

1. By Alex Chiang on 2012-11-19

Empty initial commit

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers