Does ltrace do what you want?

On Mon, Aug 9, 2010 at 8:47 PM, Michael Hope <michael.h...@linaro.org> wrote:
> I'd like to record the running of a typical program such as Firefox,
> GCC, or ffmpeg and capture the calls and arguments to functions like
> strcpy() and memcpy().  The idea is to generate a usage profile so we
> can tell what standard library functions and what variants (i.e.
> aligned/unaligned, small copy/large copy) to attack first.
>
> Does anyone know of existing research with this information, or
> existing tools that could capture it?
>
> My fallback is to use a LD_PRELOAD trick to replace the interesting
> functions with tracing versions.
>
> -- Michael
>
> _______________________________________________
> linaro-dev mailing list
> linaro-dev@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-dev
>

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to