* Feature request: codiff only considering file basename @ 2008-10-24 13:12 Diego 'Flameeyes' Pettenò [not found] ` <m27i7yxhk5.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Diego 'Flameeyes' Pettenò @ 2008-10-24 13:12 UTC (permalink / raw) To: dwarves-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 647 bytes --] I found myself today in the situation of using codiff on two binaries built with the same sources, but reorganised around; since I noticed a non-zero difference on codiff, I would have liked to know where the difference would be, but since the source files' path has changed, codiff is showing me too much noise and I can't figure out what changed. Optionally considering the basename of the source files would be very nice way to reduce the noise and only show the important data. Thanks! P.S.: is a new release to be expected? Or git is going to be the only way? -- Diego "Flameeyes" Pettenò http://blog.flameeyes.eu/ [-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <m27i7yxhk5.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: Feature request: codiff only considering file basename [not found] ` <m27i7yxhk5.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2008-10-24 13:19 ` Arnaldo Carvalho de Melo 2008-11-09 19:17 ` Diego 'Flameeyes' Pettenò 0 siblings, 1 reply; 3+ messages in thread From: Arnaldo Carvalho de Melo @ 2008-10-24 13:19 UTC (permalink / raw) To: Diego 'Flameeyes' Pettenò; +Cc: dwarves-u79uwXL29TY76Z2rM5mHXA Em Fri, Oct 24, 2008 at 03:12:58PM +0200, Diego 'Flameeyes' Pettenò escreveu: > > I found myself today in the situation of using codiff on two binaries > built with the same sources, but reorganised around; since I noticed a > non-zero difference on codiff, I would have liked to know where the > difference would be, but since the source files' path has changed, > codiff is showing me too much noise and I can't figure out what changed. > > Optionally considering the basename of the source files would be very > nice way to reduce the noise and only show the important data. Can you show an excerpt of the output you would like to see changed? > Thanks! > > P.S.: is a new release to be expected? Or git is going to be the only > way? I was expecting to make a release with the CTF encoder, but will try and get one out RSN with what is in git. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe dwarves" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Feature request: codiff only considering file basename 2008-10-24 13:19 ` Arnaldo Carvalho de Melo @ 2008-11-09 19:17 ` Diego 'Flameeyes' Pettenò 0 siblings, 0 replies; 3+ messages in thread From: Diego 'Flameeyes' Pettenò @ 2008-11-09 19:17 UTC (permalink / raw) To: dwarves-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1109 bytes --] Arnaldo Carvalho de Melo <acme-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> writes: > Can you show an excerpt of the output you would like to see changed? Sorry for the delay, very long days lately :( flame@yamato mytmpfs % echo "int foo() { return 1; }" > foo.c flame@yamato mytmpfs % gcc -ggdb -c foo.c flame@yamato mytmpfs % gcc -ggdb -c ./foo.c -o foo2.o flame@yamato mytmpfs % codiff foo.o foo2.o foo.c: foo | -11 1 function changed, 11 bytes removed, diff: -11 ./foo.c: foo | +11 1 function changed, 11 bytes added, diff: +11 foo2.o: 2 functions changed, 11 bytes added, 11 bytes removed, diff: +0 This is what I mean as a problem, as a solution I'd check for just the basename (so that foo.c and ./foo.c become the same file) or, much more complicated but would really be nice, I'd check if all the symbols gone From one file appeared on another, so that the output would then become: flame@yamato mytmpfs % codiff foo.o foo2.o File renamed: was foo.c is ./foo.c But that's going to be hard :P -- Diego "Flameeyes" Pettenò http://blog.flameeyes.eu/ [-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-09 19:17 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-10-24 13:12 Feature request: codiff only considering file basename Diego 'Flameeyes' Pettenò [not found] ` <m27i7yxhk5.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2008-10-24 13:19 ` Arnaldo Carvalho de Melo 2008-11-09 19:17 ` Diego 'Flameeyes' Pettenò
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).