:) ok In the context I cited, I wanted a program to know the member offsets of given C structs. That 'man pstruct' was the answer to the tool I needed.
If you give a .c/.h source to pstruct, it can generate the .S and dump the offsets. Nice program. :) By now, I need software to debug binaries, given that I have its source. A solid link between source and binaries is the toolchain I need. :) 2007/4/9, pancake <[EMAIL PROTECTED]>: > Can you send mails in a more verbose way? > > RTFM-like messages are not really helpful. Next time make some tests and > provide an example or patch. pstruct and so are designed to work from > .S sources, not binaries directly. It's not useful afaik. > > --pancake > > On Mon, 9 Apr 2007 21:24:17 +0200 > "Lluís Batlle" <[EMAIL PROTECTED]> wrote: > > > ? :) > > > > 2007/4/8, pancake <[EMAIL PROTECTED]>: > > > $ virik -vvv --restart > > > > > > > 2007/4/2, pancake <[EMAIL PROTECTED]>: > > > >> > Here I state my problem: I have core dumps of binaries (without > > > >> > symbols, -O2) in a special _undesired_ state (segfault, assertion > > > >> > failed, etc.). I need to know the function parameters and the values > > > >> > in structs. > > > >> > > > >> Umf. without symbols and -O2 hardly damages the "readibility" of a > > > >> program, > > > >> so, all the info of these structs are defined by DWARF. (not supported > > > >> by > > > >> radare), but as xscript told me one time, DWARF sux, and it's hard to > > > >> implement, and the current GNU implementation is full of bugs, but it > > > >> works(R). > > > > man pstruct > > > > :) > > > > (in the case you have perl ;) > > > > _______________________________________________ > > > > radare mailing list > > > > [email protected] > > > > https://lists.nopcode.org/mailman/listinfo/radare > > > > > > > > > > > > > > > > > _______________________________________________ > > > radare mailing list > > > [email protected] > > > https://lists.nopcode.org/mailman/listinfo/radare > > > > > _______________________________________________ > > radare mailing list > > [email protected] > > https://lists.nopcode.org/mailman/listinfo/radare > > > > > --pancake > _______________________________________________ > radare mailing list > [email protected] > https://lists.nopcode.org/mailman/listinfo/radare > _______________________________________________ radare mailing list [email protected] https://lists.nopcode.org/mailman/listinfo/radare
