1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/torture/ndr
Joseph Sutton 39a88a83f3 s4:torture: Fix code spelling
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-11 02:42:41 +00:00
..
atsvc.c
backupkey.c
cabinet.c
charset.c
clusapi.c
dcerpc.c s4:torture/ndr: add tests for DCERPC_PKT_CO_CANCEL and DCERPC_PKT_ORPHANED 2023-08-08 08:02:40 +00:00
dfs.c
dfsblob.c
dnsp.c Fix clang 9 constant-conversion warnings 2020-05-08 09:31:31 +00:00
drsblobs.c
drsuapi.c
epmap.c
krb5pac.c
lsa.c s4:torture: Fix code spelling 2023-09-11 02:42:41 +00:00
nbt.c
ndr.c s4:torture/ndr: add tests for DCERPC_PKT_CO_CANCEL and DCERPC_PKT_ORPHANED 2023-08-08 08:02:40 +00:00
ndr.h torture/ndr: add more details to the test names 2021-07-08 09:30:40 +00:00
negoex.c
netlogon.c s4-torture: add netr_LogonGetDomainInfo NDR(64) tests 2019-09-20 02:32:44 +00:00
ntlmssp.c
ntprinting.c librpc:ndr: Update ndr_print_debug() to the new ndr ABI 2022-07-15 14:25:38 +00:00
odj.c s4-torture: add odj ndr testsuite 2021-07-14 16:49:29 +00:00
README
samr.c
spoolss.c
string.c s4:torture: check return of ndr_pull_init_blob() via torture_assert() 2022-07-01 08:12:49 +00:00
svcctl.c librpc: fix IDL for svcctl_ChangeServiceConfigW 2020-03-09 15:00:31 +00:00
winreg.c
winspool.c
witness.c witness.idl: fix length calculation for witness_IPaddrInfoList 2021-07-08 09:30:40 +00:00

use
	hexdump -v -e '12/1 "0x%02x, " "\n"' infile|outfile

to import ndr dumps


Or use gdb:

(gdb) b dump_printer
Breakpoint 1 at 0x49c92f: file ../source3/utils/net_printing.c, line 158.
(gdb) cond 1 strcmp(key_name, "s0bc") == 0
(gdb) run
Breakpoint 1, dump_printer (mem_ctx=0x700a20, key_name=0x11fb8f9 "s0bc", data=0x18f93d0 "H\032", length=1284, do_string_conversion=true) at ../source3/utils/net_printing.c:158
158             printf("found printer: %s\n", key_name);

-> Now use x/<length in byte>bx

(gdb) x/1284bx data

This prints data as hex values. 1284 is the length in byte (see the length
argument of the function). The b indicates byte.