[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6177 [Tor Relay]: Refactor complicated functions
#6177: Refactor complicated functions
-----------------------+----------------------------------------------------
Reporter: andrea | Owner:
Type: task | Status: new
Priority: normal | Milestone: Tor: unspecified
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by nickm):
Here's a better one.
The horrible ugly pipeline I used to make it was:
{{{
( for f in src/tools/*.c src/tools/*/*.c src/or/*.c src/common/*.c ; do 1
gcc -E -I. -Isrc/common -Isrc/or $f | ~/build/cyclo-2.0/mcstrip |
~/build/cyclo-2.0/cyclo -c | perl -pe "print \"$f \""; done ) | sort -n
-k3 |grep -v OpenBSD | tail -150
}}}
plus a little postprocessing.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6177#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs