This enables printing size-limited (expectedly) ASCIZ strings.
---
util.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/util.c b/util.c
index 23a5fdb..00148d4 100644
--- a/util.c
+++ b/util.c
@@ -820,13 +820,13 @@ printstr_ex(struct tcb *tcp, long addr,
These allow retrieving specific argument in full taking into account
peculiarities of runtimes which employ EXT_ARG (x32, for example).
* defs.h: Add declarations of getarg_ull, getarg_ll.
* util.c (getarg_ull): New function.
(getarg_ll): Likewise.
(printargs): Use getarg_ull for argument retr
On Thu, Apr 28, 2016 at 11:26:59AM -0400, Jeff Mahoney wrote:
> Some ioctls have flags fields that are 64-bit. A 32-bit val means
> these flags will never be matched or printed.
>
> * util.c:
> (xlookup) Use uint64_t for val.
> (xlat_search) Likewise.
> (printxvals) Likewise.
> (addflags6
Some ioctls have flags fields that are 64-bit. A 32-bit val means
these flags will never be matched or printed.
* util.c:
(xlookup) Use uint64_t for val.
(xlat_search) Likewise.
(printxvals) Likewise.
(addflags64) New function.
(printflags64) New function.
(sprintflags64) New function
On Thu, Mar 31, 2016 at 12:34:16AM -0400, Jeff Mahoney wrote:
> -extern const char *xlookup(const struct xlat *, const unsigned int);
> -extern const char *xlat_search(const struct xlat *, const size_t, const
> unsigned int);
> +extern const char *xlookup(const struct xlat *, const uint64_t);
> +e
Some ioctls have flags fields that are 64-bit. A 32-bit val means
these flags will never be matched or printed.
* util.c:
(xlookup) Use uint64_t for val.
(xlat_search) Likewise.
(printxvals) Likewise.
(addflags64) New function.
(printflags64) New function.
(sprintflags64) New function
On Wed, Mar 30, 2016 at 10:47:49PM -0400, Jeff Mahoney wrote:
> On 3/30/16 9:48 PM, Dmitry V. Levin wrote:
> > On Wed, Mar 30, 2016 at 09:19:25PM -0400, Jeff Mahoney wrote:
> >> Some ioctls have flags fields that are 64-bit. A 32-bit val means
> >> these flags will never be matched or printed.
[..
On 3/30/16 9:48 PM, Dmitry V. Levin wrote:
> On Wed, Mar 30, 2016 at 09:19:25PM -0400, Jeff Mahoney wrote:
>> Some ioctls have flags fields that are 64-bit. A 32-bit val means
>> these flags will never be matched or printed.
Thanks for the review.
TBH, I expected there to be some discussion on t
On Wed, Mar 30, 2016 at 09:19:25PM -0400, Jeff Mahoney wrote:
> Some ioctls have flags fields that are 64-bit. A 32-bit val means
> these flags will never be matched or printed.
struct xlat is used for various kinds of thing all over the code,
and this tiny change of type might have unforeseen co
Some ioctls have flags fields that are 64-bit. A 32-bit val means
these flags will never be matched or printed.
* util.c:
(xlookup) Use uint64_t for val.
(xlat_search) Likewise.
(printxvals) Likewise.
(addflags) Use uint64_t for val and print with PRIx64 .
(printflags) Likewise.
(spri
If you have a newer glibc which provides process_vm_readv, but it is built
against older kernel headers which lack __NR_process_vm_readv, the library
will contain a stub implementation that just returns ENOSYS. Autoconf
checks for this case explicitly and will declare it as unavailable. So we
end
On Thu, Feb 16, 2012 at 01:28:01PM -0500, Mike Frysinger wrote:
> On Thursday 16 February 2012 11:55:06 Dmitry V. Levin wrote:
> > A ChangeLog-style entry is missing in the commit message,
> > but the commit is already pushed...
>
> blah, sorry. i started to look at `git log` to look at the style
On Thursday 16 February 2012 11:55:06 Dmitry V. Levin wrote:
> A ChangeLog-style entry is missing in the commit message,
> but the commit is already pushed...
blah, sorry. i started to look at `git log` to look at the style needed for
the changelog, but then noticed something in my commit i had
On Tue, Feb 14, 2012 at 02:59:58PM +0100, Denys Vlasenko wrote:
> On 02/14/2012 05:56 AM, Mike Frysinger wrote:
> > glibc-2.15 provides process_vm_readv, so trying to provide this ourselves
> > with that version fails:
> > util.c:797:16: error: static declaration of 'process_vm_readv'
> >
On 02/14/2012 05:56 AM, Mike Frysinger wrote:
> glibc-2.15 provides process_vm_readv, so trying to provide this ourselves
> with that version fails:
> util.c:797:16: error: static declaration of 'process_vm_readv'
> follows non-static declaration
> /usr/include/bits/uio.h:
glibc-2.15 provides process_vm_readv, so trying to provide this ourselves
with that version fails:
util.c:797:16: error: static declaration of 'process_vm_readv'
follows non-static declaration
/usr/include/bits/uio.h:58:16: note: previous declaration of
Title: util
Evrika Group - cursuri de perfectionare :
- contabilitate costul cursului este de 300 ron cu incepere din 23 februarie 2009 .
- expert fiscal costul cursului este de 1000 ron cu incepere in 04 martie 2009.
- inspector protectia
Title: util
Evrika Group - cursuri de perfectionare :
- contabilitate costul cursului este de 300 ron cu incepere din 25 ianuarie 2009 .
- expert fiscal costul cursului este de 1000 ron cu incepere in 21 ianuarie 2009.
- inspector protectia
Title: util
Evrika Group - cursuri de perfectionare :
- contabilitate costul cursului este de 300 ron cu incepere din 10 noiembrie 2008 .
- expert fiscal costul cursului este de 1000 ron cu incepere in 3 decembrie 2008.
- inspector protectia
Evrika Group - cursuri de perfectionare :
- contabilitate costul cursului este de 300 ron cu incepere din 10 noiembrie
2008 .
- expert fiscal costul cursului este de 1000 ron cu incepere in 01 noiembrie
2008.
- inspector protectia muncii costul cursului este de 300 ron cu incepere din
20 matches
Mail list logo