summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-22style whitespace changesDima Kogan1-25/+25
- * with name, not type - if (blah), not if( blah )
2014-08-22whitespace style changeDima Kogan4-259/+309
- Tabs should be 8 characters. - Lines should be no longer than 80 characters - Pointer star belongs to the variable, not the type - Lines shouldn't be formatted into tables arbitrarily - if and while should get a space before the paren
2014-08-22a bit more debug printingDima Kogan1-0/+1
2014-08-22added a bit more diagnostic printingDima Kogan2-0/+5
2014-08-22fixed memory leaksDima Kogan1-22/+1
Two leaks plugged: 1. value used for array-length 2. prototype return type
2014-08-22fixed prototype memory leakDima Kogan1-27/+18
protolib_add_prototype() makes a copy of the prototype, so allocating a new pointer there was an error
2014-08-22removed notesDima Kogan1-13/+0
2014-08-22removed, commented testing codeDima Kogan1-25/+1
2014-08-22dwarf diagnostic output now controlled by -DDima Kogan1-8/+4
2014-08-22fixed broken diagnostic outputDima Kogan1-5/+5
2014-08-22reworked error and memory handlingDima Kogan1-175/+363
I now longer exit() on the slightest sign of trouble, nor do I leak all my heap memory allocations
2014-08-22unknown pointers now return void*, not voidDima Kogan1-1/+1
2014-08-22DWARF parser now looks for exported typesDima Kogan1-1/+1
I now pass true to protolib_lookup_type(). Thus the user can now define a type in .ltrace.conf, and it would be picked up
2014-08-22renamed type_hash -> type_dieoffset_hashDima Kogan1-30/+30
2014-08-22type_hash is no longer globalDima Kogan1-34/+46
2014-08-22I now read the DWARF data in addition to the .conf filesDima Kogan1-1/+3
Previously if a .conf file for a library was available, the corresponding DWARF data would not be parsed. Now I use one to complement the other
2014-08-22If a functions is defined in a .conf, I do not parse the DWARFDima Kogan1-7/+6
Previously I would parse the DWARF data for such a function, but I wouldn't use the result. Now I don't even parse
2014-08-22types defined in .conf files now take precedence over DWARF typesDima Kogan1-14/+29
2014-08-22style whitespaceDima Kogan1-64/+64
2014-08-22import_DWARF_prototypes() now takes JUST a lib argumentDima Kogan3-5/+11
2014-08-22moved DWARF prototype reading to library_get_prototype()Dima Kogan4-8/+26
2014-08-22updated error message to reflect the new dwfl use caseDima Kogan1-1/+1
2014-08-22whitespaceDima Kogan1-2/+2
2014-08-22Stylistic refactoring. No functional changesDima Kogan1-98/+93
2014-08-22I now import functions using their linkage nameDima Kogan1-1/+14
This is required for C++ methods
2014-08-22enums are no longer assumed to have type 'int'Dima Kogan1-18/+40
2014-08-22reworked attr_numeric() to report failuresDima Kogan1-41/+71
This whole file is thus copyright me
2014-08-22added a disabled stub for complex float supportDima Kogan1-0/+17
2014-08-22a bit more debug printingDima Kogan1-0/+1
2014-08-22style changesDima Kogan2-183/+128
- no spaces in () - hanging braces - no camelCase - collapsed long lines
2014-08-22debug-printing via complain()Dima Kogan1-1/+1
2014-08-22added explicit support for some more typesDima Kogan1-14/+26
- boolean constant - long long double (as void) - variable-length array (assuming len 0) - union (as void) - empty compile units
2014-08-22added some optional debug printingDima Kogan1-1/+11
2014-08-22tree dumping goes to stderrDima Kogan1-9/+9
2014-08-22initial prototypes-from-dwarf implementationDima Kogan4-25/+811
2014-08-22fixed typo: toplevel_format_lens() now uses ptr data when talking about pointersDima Kogan1-1/+1
2014-08-22Fix lookup of prototypes from non-leader threadsPetr Machata2-2/+35
2014-08-22Add a couple TODO itemsPetr Machata1-0/+30
2014-08-22Improve wording on -e, -x, -l in ltrace.1Petr Machata1-9/+16
2014-08-22Add missing #include stdio.hdann frazier2-0/+2
Include stdio.h in files that use fprintf() Signed-off-by: dann frazier <dannf@debian.org>
2014-08-22add missing <stdint.h> includedann frazier1-0/+1
aarch64's fetch.c uses the uintptr_t typedef defined by stdint.h without including it. This doesn't currently cause a build failure because stdint.h is indirectly included via proc.h. Signed-off-by: dann frazier <dannf@debian.org>
2014-08-22Add --config to man, drop -X from options.cPetr Machata2-3/+3
2014-08-22Initialize struct process.e_machine and .e_class for secondary threadsPetr Machata1-3/+5
2014-08-22Add some stuff to libc.so.confPetr Machata1-7/+26
2014-08-22Update NEWS, READMEPetr Machata2-3/+7
2014-08-22Implement aarch64 supportPetr Machata11-2/+1857
- IFUNC support is not implemented, the rest works well. The only other failure is in wide char functions, and that occurs on x86_64 as well.
2014-08-22Set child stack alignment in trace-clone.cPetr Machata1-1/+3
- This is important on aarch64, which requires 16-byte aligned stack pointer. This might be relevant on other arches as well, I suspect we just happened to get the 16-byte boundary in some cases.
2014-08-22Force use of SYS_open on aarch64 as wellPetr Machata1-2/+16
- That system call is not implemented on aarch64, but we don't care, we are only calling it to see if the parameters get decoded properly. So call using the "syscall" wrapper, and hard-code SYS_open value on aarch64, where glibc doesn't define it.
2014-08-22Rewrite system_calls.expPetr Machata2-124/+135
- Port this to new style test case - Be more clever about what syscalls were invoked from main, as opposed to the multitude of calls that the dynamic linker typically makes - Allow some basic calls to come in XXXat variants (e.g. openat instead of open), such is the case on aarch64.
2014-08-22Add some missing system calls to syscalls.confPetr Machata1-1/+32