aboutsummaryrefslogtreecommitdiff
path: root/libltrace.c
AgeCommit message (Collapse)Author
2012-10-27Don't call output_line in normal_exitPetr Machata
That's because CURRENT_PROC in output.c may point to a process that was already released. This happens when ltrace detaches from another process.
2012-10-27It's not kosher to do IO in signal handler contextPetr Machata
2012-10-27Fix coding style in output_line and calls to itPetr Machata
2012-10-27Fix memory handling of -F argumentsPetr Machata
This plugs a leak.
2012-10-26Publish do_close_elf; call it on the ELF used to check arch supportPetr Machata
This plugs a leak.
2012-08-29Add backend.h for backend interfacesPetr Machata
2012-08-29New interface init_global_configPetr Machata
2012-08-29Add expr.c, expr.h, plug in properlyPetr Machata
- in callstack_pop, we don't free arch_ptr. That's because this doesn't get copied over the clone. It's a mere coincidence that fork() doesn't need to save register arguments, and this works. - added copyright notices to files that this touches. This is based on git blame. Only contributors of 10+ lines are added - test suite adjusted to not include "void" type as "don't show this int". Back ends in general need to know the exact type, so this never worked anyway.
2012-04-25Replace some uses of error with fprintfPetr Machata
error is not standard so it has no business being used in generic code. The linux-gnu back end is useful for android, and that doesn't have that interface either.
2012-04-19Drop parameters that determined whether breakpoints should be enabledPetr Machata
2012-04-19Call trace_set_options when process is started from commandPetr Machata
2012-04-19Drop PID parameter from trace_set_optionsPetr Machata
2012-04-19Drop opt_e{,_t,_enable}, use filter.h/.c to implement -e parsingPetr Machata
2012-04-19wait_for_proc may fail, and should simply waitpid instead of ptracingPetr Machata
- which means that we need to continue the process after starting it, the same as we do when attaching
2012-04-19The first crude version of tracing across librariesPetr Machata
- the patch will be sliced later
2012-04-19Move process-related functions and structures to proc.hPetr Machata
2012-04-11Handle detach from sleeping or unresponsive processesPetr Machata
2011-10-06Check whether ABI is supported before we execute the binaryPetr Machata
- this is fallout of the reorganization of open_program/execute_program. I still think it makes better sense this wey, even though we need to do the additional checking step now.
2011-10-06Handle multi-threaded attach/detach gracefullyPetr Machata
2011-10-06Add a concept of tasks and leader threadPetr Machata
2011-10-06Conceal the list of processes behind an interfacePetr Machata
2011-10-06Add argument that defines whether we should enable breakpointsPetr Machata
2011-10-06Streamline interfaces execute_program, open_programPetr Machata
2009-07-25Finally got rid of GNU's Autoconf stuffJuan Cespedes
2009-07-03Added different callback handlers for each eventJuan Cespedes
2009-07-03Some minor fixesJuan Cespedes
2009-07-03fixed configure.ac, renamed process_event -> handle_eventJuan Cespedes
2009-06-25Added support for callbacks to libltraceJuan Cespedes
2009-06-25Re-organize file namesJuan Cespedes