History log of /external/ltrace/value.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd6ff36657ef51369f72fe109d581bc2530be5f2 10-Oct-2013 Petr Machata <pmachata@redhat.com> Add expr_clone, type_clone; call from value_clone

- This fixes several memory errors in trace_clone and hello_vfork test
cases.
/external/ltrace/value.c
a77b267abb870c935f9b4187ca31409fa5eb9dcb 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Fix compile warning about unused typedef

Switch assertion to style as used by the Linux kernel (BUILD_BUG_ON)

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
/external/ltrace/value.c
929bd57ca202fd2f2e8485ebf65d683e664f67b5 17-Dec-2012 Petr Machata <pmachata@redhat.com> struct Process becomes struct process

This is for consistency with other structures, and ultimately with
Linux coding style. The typedef ("Process") was dropped as well for
this reason.

This opportunity was used to fix coding style around the impacted
lines.
/external/ltrace/value.c
edce6cff0c41643e8ff05657389c2a628a0ac2e9 26-Nov-2012 Petr Machata <pmachata@redhat.com> Const correctness in vect_clone
/external/ltrace/value.c
40bab82b523d5e80272bcbd8854516b01265549e 19-Nov-2012 Petr Machata <pmachata@redhat.com> Add value_equal
/external/ltrace/value.c
429b1845ef6bee24d8ab5851e90018666c83c481 30-Oct-2012 Petr Machata <pmachata@redhat.com> New function value_in_inferior
/external/ltrace/value.c
0d40d115a2e09bd0d432cc276d5cfc3c013468b0 30-Oct-2012 Petr Machata <pmachata@redhat.com> In value_reserve, first release any already-allocated memory
/external/ltrace/value.c
635786d16da4cb3665ceb82bdb000331c9a8febd 30-Oct-2012 Petr Machata <pmachata@redhat.com> Also free memory associated with value type, if owned

This plugs a leak.
/external/ltrace/value.c
2b955a5cefeab9cd409f7973837bf1d25003d8e9 29-Oct-2012 Petr Machata <pmachata@redhat.com> struct value should differentiate between inferior and private address
/external/ltrace/value.c
2fb192b7bb49b659343f6dec89931168de00660c 04-May-2012 Petr Machata <pmachata@redhat.com> Add interface value_pass_by_reference, use in x86_64 back end
/external/ltrace/value.c
ac147e92ee3e79817d98f9b94f9363a2e063789c 04-May-2012 Petr Machata <pmachata@redhat.com> Don't name type in in sizeof expression, name variable
/external/ltrace/value.c
5062d310aeba0103b48cd7b71d629c31dbdb89e8 04-May-2012 Petr Machata <pmachata@redhat.com> Set value by hand in value_reserve

Because value_set_word needs a type set, to resolve (potential) endian
issues. But we don't need this when all we do is set something to zero.
/external/ltrace/value.c
4c2109ab8912d6c6616702ec9fa0cbaf65e7f751 04-May-2012 Petr Machata <pmachata@redhat.com> Resolve more issues on big endian machines

We need to cover the other direction as well. Note that the assert in
value_set_word currently fires. That's because when we are passing structs
by value, those structs may be larger than what fits in long. We may need
to add a heuristic to fetch.c to support legacy back ends. When those
asserts are removed, most test suite actually passes (6 failures related
to ABI support, 2 failures in filtering test).
/external/ltrace/value.c
ad16845eb449e2d69591ddaf1910a4e47860323a 04-May-2012 Petr Machata <pmachata@redhat.com> Resolve some big endian issues in value.c
/external/ltrace/value.c
da442f4777454436e02bf0ec170bc9b59fb68546 04-May-2012 Petr Machata <pmachata@redhat.com> Rename value_set_long to value_set_word

For consistency with value_extract_word
/external/ltrace/value.c
e3f4a984db115979e09414b7281da98399dd8949 09-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_STRING, reimplement as lens over array of chars
/external/ltrace/value.c
642626096a694c6af279d25d2b1b2fba5b10ddfb 07-Jan-2012 Petr Machata <pmachata@redhat.com> Add backend.h for backend interfaces
/external/ltrace/value.c
4767187d0d7924bfe5028fe3e29e3b018bc9c99b 07-Jan-2012 Petr Machata <pmachata@redhat.com> Add value_string_to_charp

- I consider this a temporary solution before ARGTYPE_STRING is removed.
Since we need to handle strings as array(char, zero)*, it's necessary to
do this conversion by hand every once in a while. This code implements
such transformation.
/external/ltrace/value.c
94078ecce3a103c28457e6f90f1e5b0dacc61146 05-Jan-2012 Petr Machata <pmachata@redhat.com> Add expr.c, expr.h, plug in properly

- 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.
/external/ltrace/value.c
000e31195ad4ad30a0c80c93ab57a424e7d8d918 03-Jan-2012 Petr Machata <pmachata@redhat.com> Add type.c/.h, value.c/.h, value_dict.c/.h

- none of this is plugged in yet
- expr.c/.h is not in yet, so we still express array length with len_spec
integer. Some function are mocked out so the thing compiles
/external/ltrace/value.c