lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 2 Jan 2021 17:41:24 +0900
From:   Masami Hiramatsu <masami.hiramatsu@...aro.org>
To:     Bar H <billy.san@...il.com>
Cc:     Masami Hiramatsu <mhiramat@...nel.org>,
        Linux kernel mailing list <linux-kernel@...r.kernel.org>,
        Oleg Nesterov <oleg@...hat.com>
Subject: Re: Unicode output with uprobe?

Hi,

Sorry, at this point, uprobe-event doesn't support non-ascii strings.
If you are sure that
the length of the string, you can use an array of u8, e.g. u8[16], but
not sure it can print the string correctly.

Thank you!

2020年12月28日(月) 19:24 Bar H <billy.san@...il.com>:

>
> Hey Masami,
>
> I found your email in github, I hope that's Okay I'm sending you this email regarding uprobe/kprobe as I couldn't find assistance anywhere else.
>
> In uprobe, I'm trying to print out function arguments that are none-ANSI, that means there are trailing zeros after every character, so when I use the +0(%x0):string notation, I get only the first character.
>
> Do you know if there's a way around this? maybe use another function in the sysfs framework that I could use? I'm debugging a third-party, user-mode *.so file.
>
> Best,
> Bar



--
Masami Hiramatsu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ