libldm crashes in a linux-sandbox context
Hello, I am using libguestfs in a Bazel's linux-sandbox environment[1]. When executing in that sandbox environment, I got frequent crashes. Please find attached below the results of libguestfs-test-tool when run into that linux-sandbox environment. The most relevant part seems to be: [ 0.797233] ldmtool[164]: segfault at 0 ip 0000564a892506a5 sp 00007fff8ee5b900 error 4 in ldmtool[564a8924e000+3000] [ 0.798117] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 /init: line 154: 164 Segmentation fault ldmtool create all So the root cause seems to be around libldm. This mailing list seems to cover both libguestfs and libldm, so hopefully, I am at the right place to ask :) Needless to say, when run outside of the sandbox environment, no crash were observed. [1] linux-sandbox.cc Link: https://github.com/bazelbuild/bazel/blob/master/src/main/tools/linux-sandbox... --- ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ TMPDIR=/tmp PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin SELinux: sh: 1: getenforce: not found guestfs_get_append: (null) guestfs_get_autosync: 1 guestfs_get_backend: direct guestfs_get_backend_settings: [] guestfs_get_cachedir: /tmp guestfs_get_hv: /usr/bin/qemu-system-x86_64 guestfs_get_memsize: 768 guestfs_get_network: 0 guestfs_get_path: /usr/lib/x86_64-linux-gnu/guestfs guestfs_get_pgroup: 0 guestfs_get_program: libguestfs-test-tool guestfs_get_recovery_proc: 1 guestfs_get_smp: 1 guestfs_get_sockdir: /tmp guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout set to 600 seconds. libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.40.2 libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=direct libguestfs: launch: tmpdir=/tmp/libguestfsART0fq libguestfs: launch: umask=0022 libguestfs: launch: euid=1001 libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /tmp/.guestfs-1001/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d libguestfs: command: run: \ -o /tmp/.guestfs-1001/appliance.d supermin: version: 5.1.20 supermin: package handler: debian/dpkg supermin: acquiring lock on /tmp/.guestfs-1001/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: begin testing qemu features libguestfs: checking for previously cached test results of /usr/bin/qemu-system-x86_64, in /tmp/.guestfs-1001 libguestfs: loading previously cached test results libguestfs: qemu version: 4.2 libguestfs: qemu mandatory locking: yes libguestfs: qemu KVM: enabled libguestfs: finished testing qemu features /usr/bin/qemu-system-x86_64 \ -global virtio-blk-pci.scsi=off \ -no-user-config \ -enable-fips \ -nodefaults \ -display none \ -machine accel=kvm:tcg \ -cpu host \ -m 768 \ -no-reboot \ -rtc driftfix=slew \ -no-hpet \ -global kvm-pit.lost_tick_policy=discard \ -kernel /tmp/.guestfs-1001/appliance.d/kernel \ -initrd /tmp/.guestfs-1001/appliance.d/initrd \ -object rng-random,filename=/dev/urandom,id=rng0 \ -device virtio-rng-pci,rng=rng0 \ -device virtio-scsi-pci,id=scsi \ -drive file=/tmp/libguestfsART0fq/scratch1.img,cache=unsafe,format=raw,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=/tmp/.guestfs-1001/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \ -device scsi-hd,drive=appliance \ -device virtio-serial-pci \ -serial stdio \ -device sga \ -chardev socket,path=/tmp/libguestfsx6wHdq/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=linux" libguestfs: responding to serial console Device Status Report \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 12/12/19 SGABIOS $Id$ (build@debian) Thu Dec 12 18:22:50 UTC 2019 Term: 80x24 4 0 \x1b[2J SeaBIOS (version 1.13.0-1ubuntu1.1) Booting from ROM... \x1b[2J[ 0.000000] Linux version 5.15.0-73-generic (buildd@bos03-amd64-038) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #80~20.04.1-Ubuntu SMP Wed May 17 14:58:14 UTC 2023 (Ubuntu 5.15.0-73.80~20.04.1-generic 5.15.98) [ 0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=linux [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Hygon HygonGenuine [ 0.000000] Centaur CentaurHauls [ 0.000000] zhaoxin Shanghai [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64 [ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64 [ 0.000000] x86/fpu: xstate_offset[5]: 960, xstate_sizes[5]: 64 [ 0.000000] x86/fpu: xstate_offset[6]: 1024, xstate_sizes[6]: 512 [ 0.000000] x86/fpu: xstate_offset[7]: 1536, xstate_sizes[7]: 1024 [ 0.000000] x86/fpu: xstate_offset[9]: 2560, xstate_sizes[9]: 8 [ 0.000000] x86/fpu: Enabled xstate features 0x2ff, context size is 2568 bytes, using 'compacted' format. [ 0.000000] signal: max sigframe size: 3632 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000002ffdcfff] usable [ 0.000000] BIOS-e820: [mem 0x000000002ffdd000-0x000000002fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 [ 0.000000] Hypervisor detected: KVM [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr c601001, primary cpu clock [ 0.000001] kvm-clock: using sched offset of 152466177 cycles [ 0.000003] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000006] tsc: Detected 2496.000 MHz processor [ 0.000253] last_pfn = 0x2ffdd max_arch_pfn = 0x400000000 [ 0.000307] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.006060] found SMP MP-table at [mem 0x000f5c90-0x000f5c9f] [ 0.006118] Using GB pages for direct mapping [ 0.006273] RAMDISK: [mem 0x2fcbc000-0x2ffcffff] [ 0.006295] ACPI: Early table checksum verification disabled [ 0.006300] ACPI: RSDP 0x00000000000F5AC0 000014 (v00 BOCHS ) [ 0.006305] ACPI: RSDT 0x000000002FFE1510 00002C (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.006311] ACPI: FACP 0x000000002FFE1424 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.006316] ACPI: DSDT 0x000000002FFE0040 0013E4 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [ 0.006320] ACPI: FACS 0x000000002FFE0000 000040 [ 0.006323] ACPI: APIC 0x000000002FFE1498 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.006326] ACPI: Reserving FACP table memory at [mem 0x2ffe1424-0x2ffe1497] [ 0.006328] ACPI: Reserving DSDT table memory at [mem 0x2ffe0040-0x2ffe1423] [ 0.006329] ACPI: Reserving FACS table memory at [mem 0x2ffe0000-0x2ffe003f] [ 0.006330] ACPI: Reserving APIC table memory at [mem 0x2ffe1498-0x2ffe150f] [ 0.006600] No NUMA configuration found [ 0.006601] Faking a node at [mem 0x0000000000000000-0x000000002ffdcfff] [ 0.006607] NODE_DATA(0) allocated [mem 0x2fc92000-0x2fcbbfff] [ 0.006786] Zone ranges: [ 0.006788] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.006790] DMA32 [mem 0x0000000001000000-0x000000002ffdcfff] [ 0.006792] Normal empty [ 0.006793] Device empty [ 0.006794] Movable zone start for each node [ 0.006796] Early memory node ranges [ 0.006797] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.006798] node 0: [mem 0x0000000000100000-0x000000002ffdcfff] [ 0.006800] Initmem setup node 0 [mem 0x0000000000001000-0x000000002ffdcfff] [ 0.007042] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.007053] On node 0, zone DMA: 97 pages in unavailable ranges [ 0.008702] On node 0, zone DMA32: 35 pages in unavailable ranges [ 0.008994] ACPI: PM-Timer IO Port: 0x608 [ 0.009005] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.009037] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.009040] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.009042] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.009043] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.009045] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.009046] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.009049] ACPI: Using ACPI (MADT) for SMP configuration information [ 0.009051] TSC deadline timer available [ 0.009052] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.009081] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.009083] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.009084] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.009085] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.009087] [mem 0x30000000-0xfeffbfff] available for PCI devices [ 0.009088] Booting paravirtualized kernel on KVM [ 0.009090] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.009098] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 [ 0.009406] percpu: Embedded 60 pages/cpu s208896 r8192 d28672 u2097152 [ 0.009435] kvm-guest: stealtime: cpu 0, msr 2ee32080 [ 0.009440] kvm-guest: PV spinlocks disabled, single CPU [ 0.009446] Built 1 zonelists, mobility grouping on. Total pages: 193245 [ 0.009448] Policy zone: DMA32 [ 0.009449] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=linux [ 0.009582] cgroup: Disabling memory control group subsystem [ 0.009646] Unknown kernel command line parameters "edd=off udevtimeout=6000 guestfs_verbose=1", will be passed to user space. [ 0.009681] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.009703] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.009743] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.010921] Memory: 722448K/785900K available (16393K kernel code, 4378K rwdata, 10812K rodata, 3244K init, 6560K bss, 63192K reserved, 0K cma-reserved) [ 0.011337] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.011355] ftrace: allocating 50094 entries in 196 pages [ 0.033853] ftrace: allocated 196 pages with 3 groups [ 0.034201] rcu: Hierarchical RCU implementation. [ 0.034203] rcu: \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1. [ 0.034205] \tRude variant of Tasks RCU enabled. [ 0.034206] \tTracing variant of Tasks RCU enabled. [ 0.034207] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.034208] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.037911] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16 [ 0.038082] random: crng init done [ 0.038169] Console: colour *CGA 80x25 [ 0.101701] printk: console [ttyS0] enabled [ 0.102078] ACPI: Core revision 20210730 [ 0.102446] APIC: Switch to symmetric I/O mode setup [ 0.103058] x2apic enabled [ 0.103495] Switched APIC routing to physical x2apic. [ 0.104684] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x23fa772cf26, max_idle_ns: 440795269835 ns [ 0.105559] Calibrating delay loop (skipped) preset value.. 4992.00 BogoMIPS (lpj=9984000) [ 0.106240] pid_max: default: 32768 minimum: 301 [ 0.106645] LSM: Security Framework initializing [ 0.107042] landlock: Up and running. [ 0.107351] Yama: becoming mindful. [ 0.107903] AppArmor: AppArmor initialized [ 0.108282] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.108900] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.109556] x86/cpu: User Mode Instruction Prevention (UMIP) activated [ 0.109556] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.109556] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.109556] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 0.109556] Spectre V2 : Mitigation: Enhanced IBRS [ 0.109556] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.109556] Spectre V2 : Spectre v2 / PBRSB-eIBRS: Retire a single CALL on VMEXIT [ 0.109556] RETBleed: Mitigation: Enhanced IBRS [ 0.109556] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.109556] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 0.109556] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.109556] Freeing SMP alternatives memory: 40K [ 0.109556] smpboot: CPU0: 11th Gen Intel(R) Core(TM) i9-11900 @ 2.50GHz (family: 0x6, model: 0xa7, stepping: 0x1) [ 0.109556] Performance Events: Icelake events, 32-deep LBR, full-width counters, Intel PMU driver. [ 0.110377] ... version: 2 [ 0.110693] ... bit width: 48 [ 0.111002] ... generic registers: 8 [ 0.111303] ... value mask: 0000ffffffffffff [ 0.111701] ... max period: 00007fffffffffff [ 0.112103] ... fixed-purpose events: 3 [ 0.112404] ... event mask: 00000007000000ff [ 0.112918] rcu: Hierarchical SRCU implementation. [ 0.113677] smp: Bringing up secondary CPUs ... [ 0.114027] smp: Brought up 1 node, 1 CPU [ 0.114335] smpboot: Max logical packages: 1 [ 0.114660] smpboot: Total of 1 processors activated (4992.00 BogoMIPS) [ 0.115289] devtmpfs: initialized [ 0.115582] x86/mm: Memory block size: 128MB [ 0.116103] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.116838] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.117382] pinctrl core: initialized pinctrl subsystem [ 0.117663] PM: RTC time: 11:58:49, date: 2023-06-15 [ 0.118128] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.118666] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.119253] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.119835] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.120428] audit: initializing netlink subsys (disabled) [ 0.120934] thermal_sys: Registered thermal governor 'fair_share' [ 0.120935] thermal_sys: Registered thermal governor 'bang_bang' [ 0.121404] thermal_sys: Registered thermal governor 'step_wise' [ 0.121563] audit: type=2000 audit(1686830330.027:1): state=initialized audit_enabled=0 res=1 [ 0.122647] thermal_sys: Registered thermal governor 'user_space' [ 0.122647] thermal_sys: Registered thermal governor 'power_allocator' [ 0.123105] EISA bus registered [ 0.123828] cpuidle: using governor ladder [ 0.124138] cpuidle: using governor menu [ 0.124496] ACPI: bus type PCI registered [ 0.124799] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.125361] PCI: Using configuration type 1 for base access [ 0.126487] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.127450] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.127962] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.128982] ACPI: Added _OSI(Module Device) [ 0.129308] ACPI: Added _OSI(Processor Device) [ 0.129560] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.129912] ACPI: Added _OSI(Processor Aggregator Device) [ 0.130322] ACPI: Added _OSI(Linux-Dell-Video) [ 0.130654] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.131050] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.132108] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.133240] ACPI: Interpreter enabled [ 0.133548] ACPI: PM: (supports S0 S3 S4 S5) [ 0.133562] ACPI: Using IOAPIC for interrupt routing [ 0.133955] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.134663] PCI: Using E820 reservations for host bridge windows [ 0.135190] ACPI: Enabled 2 GPEs in block 00 to 0F [ 0.137271] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.137601] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI EDR HPX-Type3] [ 0.138211] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 0.139242] acpiphp: Slot [2] registered [ 0.139556] acpiphp: Slot [3] registered [ 0.139860] acpiphp: Slot [4] registered [ 0.140168] acpiphp: Slot [5] registered [ 0.140474] acpiphp: Slot [6] registered [ 0.140783] acpiphp: Slot [7] registered [ 0.141084] acpiphp: Slot [8] registered [ 0.141449] acpiphp: Slot [9] registered [ 0.141587] acpiphp: Slot [10] registered [ 0.141943] acpiphp: Slot [11] registered [ 0.142273] acpiphp: Slot [12] registered [ 0.142614] acpiphp: Slot [13] registered [ 0.142955] acpiphp: Slot [14] registered [ 0.143274] acpiphp: Slot [15] registered [ 0.143588] acpiphp: Slot [16] registered [ 0.143960] acpiphp: Slot [17] registered [ 0.144280] acpiphp: Slot [18] registered [ 0.144600] acpiphp: Slot [19] registered [ 0.144914] acpiphp: Slot [20] registered [ 0.145225] acpiphp: Slot [21] registered [ 0.145537] acpiphp: Slot [22] registered [ 0.145577] acpiphp: Slot [23] registered [ 0.145893] acpiphp: Slot [24] registered [ 0.146203] acpiphp: Slot [25] registered [ 0.146517] acpiphp: Slot [26] registered [ 0.146830] acpiphp: Slot [27] registered [ 0.147152] acpiphp: Slot [28] registered [ 0.147468] acpiphp: Slot [29] registered [ 0.147794] acpiphp: Slot [30] registered [ 0.148115] acpiphp: Slot [31] registered [ 0.148431] PCI host bridge to bus 0000:00 [ 0.148742] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.149152] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.149559] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.150058] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.150616] pci_bus 0000:00: root bus resource [mem 0x30000000-0xfebfffff window] [ 0.151169] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window] [ 0.151847] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 [ 0.152872] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 [ 0.153715] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 [ 0.155538] pci 0000:00:01.1: reg 0x20: [io 0xc0a0-0xc0af] [ 0.156566] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.157103] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.157559] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.158092] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.158770] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 [ 0.159509] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI [ 0.160050] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB [ 0.161063] pci 0000:00:02.0: [1af4:1005] type 00 class 0x00ff00 [ 0.161819] pci 0000:00:02.0: reg 0x10: [io 0xc080-0xc09f] [ 0.163997] pci 0000:00:02.0: reg 0x20: [mem 0xfebf0000-0xfebf3fff 64bit pref] [ 0.165753] pci 0000:00:03.0: [1af4:1004] type 00 class 0x010000 [ 0.167227] pci 0000:00:03.0: reg 0x10: [io 0xc000-0xc03f] [ 0.168599] pci 0000:00:03.0: reg 0x14: [mem 0xfebfe000-0xfebfefff] [ 0.171451] pci 0000:00:03.0: reg 0x20: [mem 0xfebf4000-0xfebf7fff 64bit pref] [ 0.174177] pci 0000:00:04.0: [1af4:1003] type 00 class 0x078000 [ 0.175180] pci 0000:00:04.0: reg 0x10: [io 0xc040-0xc07f] [ 0.176222] pci 0000:00:04.0: reg 0x14: [mem 0xfebff000-0xfebfffff] [ 0.178083] pci 0000:00:04.0: reg 0x20: [mem 0xfebf8000-0xfebfbfff 64bit pref] [ 0.186458] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 [ 0.186993] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 [ 0.187511] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 [ 0.188031] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 [ 0.188516] ACPI: PCI: Interrupt link LNKS configured for IRQ 9 [ 0.189120] iommu: Default domain type: Translated [ 0.189495] iommu: DMA domain TLB invalidation policy: lazy mode [ 0.189674] SCSI subsystem initialized [ 0.190012] vgaarb: loaded [ 0.190259] usbcore: USB support disabled [ 0.190576] pps_core: LinuxPPS API ver. 1 registered [ 0.190950] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.191624] PTP clock support registered [ 0.191949] EDAC MC: Ver: 3.0.0 [ 0.192427] NetLabel: Initializing [ 0.192732] NetLabel: domain hash size = 128 [ 0.193072] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.193505] NetLabel: unlabeled traffic allowed by default [ 0.193580] PCI: Using ACPI for IRQ routing [ 0.194073] clocksource: Switched to clocksource kvm-clock [ 0.200912] VFS: Disk quotas dquot_6.6.0 [ 0.201260] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.201866] AppArmor: AppArmor Filesystem Enabled [ 0.202260] pnp: PnP ACPI init [ 0.202830] pnp: PnP ACPI: found 5 devices [ 0.212650] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.213359] NET: Registered PF_INET protocol family [ 0.213990] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.215394] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.216030] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.216610] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.217196] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 0.217759] TCP: Hash tables configured (established 8192 bind 8192) [ 0.218256] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear) [ 0.218815] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.219314] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.219862] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.220295] NET: Registered PF_XDP protocol family [ 0.220660] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.221125] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.221593] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.222103] pci_bus 0000:00: resource 7 [mem 0x30000000-0xfebfffff window] [ 0.222614] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window] [ 0.223181] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.223621] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.224067] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.224560] PCI: CLS 0 bytes, default 64 [ 0.224882] Trying to unpack rootfs image as initramfs... [ 0.226658] Freeing initrd memory: 3152K [ 0.227050] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x23fa772cf26, max_idle_ns: 440795269835 ns [ 0.228060] Initialise system trusted keyrings [ 0.228442] Key type blacklist registered [ 0.228790] workingset: timestamp_bits=36 max_order=18 bucket_order=0 [ 0.230020] zbud: loaded [ 0.230389] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.230904] fuse: init (API version 7.34) [ 0.231309] integrity: Platform Keyring initialized [ 0.239645] Key type asymmetric registered [ 0.239959] Asymmetric key parser 'x509' registered [ 0.240338] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.240915] io scheduler mq-deadline registered [ 0.241336] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 0.241953] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 0.242559] ACPI: button: Power Button [PWRF] [ 0.259519] ACPI: \_SB_.LNKB: Enabled at IRQ 10 [ 0.277044] ACPI: \_SB_.LNKC: Enabled at IRQ 11 [ 0.294259] ACPI: \_SB_.LNKD: Enabled at IRQ 11 [ 0.295373] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 0.318784] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.358711] Linux agpgart interface v0.103 [ 0.359880] loop: module loaded [ 0.360681] scsi host0: ata_piix [ 0.361013] scsi host1: ata_piix [ 0.361349] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14 [ 0.361906] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15 [ 0.362669] tun: Universal TUN/TAP device driver, 1.6 [ 0.363078] PPP generic driver version 2.4.2 [ 0.363467] VFIO - User Level meta-driver version: 0.3 [ 0.363933] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 0.365083] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.365473] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.366091] mousedev: PS/2 mouse device common for all mice [ 0.366673] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 [ 0.367464] rtc_cmos 00:00: RTC can wake from S4 [ 0.368058] rtc_cmos 00:00: registered as rtc0 [ 0.368438] rtc_cmos 00:00: setting system clock to 2023-06-15T11:58:49 UTC (1686830329) [ 0.369079] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram [ 0.369604] i2c_dev: i2c /dev entries driver [ 0.369946] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. [ 0.370886] device-mapper: uevent: version 1.0.3 [ 0.371270] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com [ 0.371919] platform eisa.0: Probing EISA bus 0 [ 0.372267] platform eisa.0: EISA: Cannot allocate resource for mainboard [ 0.372782] platform eisa.0: Cannot allocate resource for EISA slot 1 [ 0.373282] platform eisa.0: Cannot allocate resource for EISA slot 2 [ 0.373783] platform eisa.0: Cannot allocate resource for EISA slot 3 [ 0.374270] platform eisa.0: Cannot allocate resource for EISA slot 4 [ 0.374754] platform eisa.0: Cannot allocate resource for EISA slot 5 [ 0.375242] platform eisa.0: Cannot allocate resource for EISA slot 6 [ 0.375727] platform eisa.0: Cannot allocate resource for EISA slot 7 [ 0.376216] platform eisa.0: Cannot allocate resource for EISA slot 8 [ 0.376701] platform eisa.0: EISA: Detected 0 cards [ 0.377074] intel_pstate: CPU model not supported [ 0.377450] ledtrig-cpu: registered to indicate activity on CPUs [ 0.377959] drop_monitor: Initializing network drop monitor service [ 0.378542] NET: Registered PF_INET6 protocol family [ 0.379255] Segment Routing with IPv6 [ 0.379564] In-situ OAM (IOAM) with IPv6 [ 0.379886] NET: Registered PF_PACKET protocol family [ 0.380310] Key type dns_resolver registered [ 0.380765] IPI shorthand broadcast: enabled [ 0.381110] sched_clock: Marking stable (310424358, 67484914)->(436994679, -59085407) [ 0.381791] registered taskstats version 1 [ 0.382142] Loading compiled-in X.509 certificates [ 0.382992] Loaded X.509 cert 'Build time autogenerated kernel key: 2a93a999cc26ede1fce61bd86bb978e3d6e72543' [ 0.384179] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing: 14df34d1a87cf37625abec039ef2bf521249b969' [ 0.385329] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing: 88f752e560a1e0737e31163a466ad7b70a850c19' [ 0.386082] blacklist: Loading compiled-in revocation X.509 certificates [ 0.386609] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0' [ 0.387351] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2017): 242ade75ac4a15e50d50c84b0d45ff3eae707a03' [ 0.388137] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (ESM 2018): 365188c1d374d6b07c3c8f240f8ef722433d6a8b' [ 0.388942] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2019): c0746fd6c5da3ae827864651ad66ae47fe24b3e8' [ 0.389760] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v1): a8d54bbb3825cfb94fa13c9f8a594a195c107b8d' [ 0.390576] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v2): 4cf046892d6fd3c9a5b03f98d845f90851dc6a8c' [ 0.391390] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v3): 100437bb6de6e469b581e61cd66bce3ef4ed53af' [ 0.392201] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (Ubuntu Core 2019): c1d57b8f6b743f23ee41f4f7ee292f06eecadfb9' [ 0.393325] zswap: loaded using pool lzo/zbud [ 0.393739] Key type .fscrypt registered [ 0.394063] Key type fscrypt-provisioning registered [ 0.394570] Key type encrypted registered [ 0.394894] AppArmor: AppArmor sha1 policy hashing enabled [ 0.395322] ima: No TPM chip found, activating TPM-bypass! [ 0.395758] Loading compiled-in module X.509 certificates [ 0.396607] Loaded X.509 cert 'Build time autogenerated kernel key: 2a93a999cc26ede1fce61bd86bb978e3d6e72543' [ 0.397356] ima: Allocated hash algorithm: sha1 [ 0.397720] ima: No architecture policies found [ 0.398075] evm: Initialising EVM extended attributes: [ 0.398459] evm: security.selinux [ 0.398711] evm: security.SMACK64 [ 0.398963] evm: security.SMACK64EXEC [ 0.399240] evm: security.SMACK64TRANSMUTE [ 0.399550] evm: security.SMACK64MMAP [ 0.399827] evm: security.apparmor [ 0.400086] evm: security.ima [ 0.400313] evm: security.capability [ 0.400586] evm: HMAC attrs: 0x1 [ 0.401009] PM: Magic number: 11:734:984 [ 0.401438] RAS: Correctable Errors collector initialized. [ 0.536932] Freeing unused decrypted memory: 2036K [ 0.538239] Freeing unused kernel image (initmem) memory: 3244K [ 0.539157] Write protecting the kernel read-only data: 30720k [ 0.540485] Freeing unused kernel image (text/rodata gap) memory: 2036K [ 0.541771] Freeing unused kernel image (rodata/data gap) memory: 1476K [ 0.564008] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 0.565082] Run /init as init process supermin: mounting /proc supermin: ext2 mini initrd starting up: 5.1.20 supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=linux supermin: uptime: 0.50 0.12 supermin: mounting /sys supermin: internal insmod crc32-pclmul.ko supermin: internal insmod crct10dif-pclmul.ko supermin: internal insmod crc32_generic.ko supermin: internal insmod nfit.ko supermin: internal insmod virtio_blk.ko supermin: internal insmod ecc.ko supermin: internal insmod ecdh_generic.ko supermin: internal insmod bluetooth.ko [ 0.605172] Bluetooth: Core ver 2.22 [ 0.605482] NET: Registered PF_BLUETOOTH protocol family [ 0.605899] Bluetooth: HCI device and connection manager initialized [ 0.606388] Bluetooth: HCI socket layer initialized [ 0.606762] Bluetooth: L2CAP socket layer initialized [ 0.607150] Bluetooth: SCO socket layer initialized supermin: internal insmod virtio_bt.ko supermin: internal insmod virtio-rng.ko supermin: internal insmod crypto_engine.ko supermin: internal insmod virtio_crypto.ko supermin: internal insmod failover.ko supermin: internal insmod net_failover.ko supermin: internal insmod virtio_net.ko supermin: internal insmod nd_btt.ko supermin: internal insmod nd_pmem.ko supermin: internal insmod nd_virtio.ko supermin: internal insmod virtio_pmem.ko supermin: internal insmod rpmsg_core.ko supermin: internal insmod rpmsg_ns.ko supermin: internal insmod virtio_rpmsg_bus.ko supermin: internal insmod virtio_scsi.ko [ 0.622564] scsi host2: Virtio SCSI HBA [ 0.623485] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 0.624333] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 0.633329] sd 2:0:0:0: Power-on or device reset occurred [ 0.633839] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 0.634398] sd 2:0:1:0: Power-on or device reset occurred [ 0.634852] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (105 MB/100 MiB) [ 0.635447] sd 2:0:1:0: Attached scsi generic sg1 type 0 [ 0.635916] sd 2:0:0:0: [sda] Write Protect is off [ 0.636326] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.637096] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB) [ 0.637899] sd 2:0:1:0: [sdb] Write Protect is off [ 0.638670] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.657743] sd 2:0:0:0: [sda] Attached SCSI disk [ 0.658147] sd 2:0:1:0: [sdb] Attached SCSI disk supermin: internal insmod virtio_dma_buf.ko supermin: internal insmod virtio_input.ko supermin: internal insmod virtio_mem.ko supermin: internal insmod vdpa.ko supermin: internal insmod virtio_vdpa.ko supermin: internal insmod virtiofs.ko supermin: internal insmod crc-itu-t.ko supermin: internal insmod crc4.ko supermin: internal insmod crc64.ko supermin: internal insmod crc7.ko supermin: internal insmod crc8.ko supermin: internal insmod libcrc32c.ko supermin: internal insmod soundcore.ko supermin: internal insmod snd.ko supermin: internal insmod snd-timer.ko supermin: internal insmod snd-pcm.ko supermin: internal insmod virtio_snd.ko supermin: picked /sys/block/sdb/dev (8:16) as root device supermin: creating /dev/root as block special 8:16 supermin: mounting new root on /root [ 0.678248] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem [ 0.679832] EXT4-fs (sdb): mounted filesystem without journal. Opts: . Quota mode: none. supermin: deleting initramfs files supermin: chroot Starting /init script ... mount: only root can use "--types" option (effective UID is 65534) /init: line 38: /proc/cmdline: No such file or directory mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534) dd: failed to open '/dev/urandom': No such file or directory [/usr/lib/tmpfiles.d/journal-nocow.conf:26] Failed to replace specifiers: /var/log/journal/%m [/usr/lib/tmpfiles.d/static-nodes-permissions.conf:12] Unknown group 'audio'. [/usr/lib/tmpfiles.d/static-nodes-permissions.conf:13] Unknown group 'audio'. [/usr/lib/tmpfiles.d/static-nodes-permissions.conf:14] Unknown group 'disk'. [/usr/lib/tmpfiles.d/static-nodes-permissions.conf:17] Unknown group 'kvm'. [/usr/lib/tmpfiles.d/systemd-tmp.conf:11] Failed to replace specifiers: /tmp/systemd-private-%b-* [/usr/lib/tmpfiles.d/systemd-tmp.conf:12] Failed to replace specifiers: /tmp/systemd-private-%b-*/tmp [/usr/lib/tmpfiles.d/systemd-tmp.conf:13] Failed to replace specifiers: /var/tmp/systemd-private-%b-* [/usr/lib/tmpfiles.d/systemd-tmp.conf:14] Failed to replace specifiers: /var/tmp/systemd-private-%b-*/tmp [/usr/lib/tmpfiles.d/systemd-tmp.conf:22] Failed to replace specifiers: /var/lib/systemd/coredump/.#core*.%b* [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:22] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'. [/usr/lib/tmpfiles.d/systemd.conf:27] Failed to replace specifiers: /run/log/journal/%m Failed to parse ACL "d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x": No such file or directory. Ignoring [/usr/lib/tmpfiles.d/systemd.conf:30] Failed to replace specifiers: /run/log/journal/%m [/usr/lib/tmpfiles.d/systemd.conf:31] Failed to replace specifiers: /run/log/journal/%m/*.journal* [/usr/lib/tmpfiles.d/systemd.conf:34] Failed to replace specifiers: /var/log/journal/%m [/usr/lib/tmpfiles.d/systemd.conf:35] Failed to replace specifiers: /var/log/journal/%m/system.journal Failed to parse ACL "d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x": No such file or directory. Ignoring [/usr/lib/tmpfiles.d/systemd.conf:38] Failed to replace specifiers: /var/log/journal/%m [/usr/lib/tmpfiles.d/systemd.conf:39] Failed to replace specifiers: /var/log/journal/%m/system.journal Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /dev/snd. Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /dev/snd. Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /run/systemd. Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /run/systemd. Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /run/systemd. Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /run/systemd. Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /run/systemd. Detected unsafe path transition (null) \xe2\x86\x92 (null) during canonicalization of /run/systemd. Failed to parse kernel command line, ignoring: No such file or directory Starting version 245.4-4ubuntu3.22 Failed to redirect standard streams to /dev/null: No such file or directory /lib/udev/rules.d/50-udev-default.rules:18 Unknown group 'tty', ignoring /lib/udev/rules.d/50-udev-default.rules:19 Unknown group 'tty', ignoring /lib/udev/rules.d/50-udev-default.rules:20 Unknown group 'tty', ignoring /lib/udev/rules.d/50-udev-default.rules:21 Unknown group 'tty', ignoring /lib/udev/rules.d/50-udev-default.rules:22 Unknown group 'tty', ignoring /lib/udev/rules.d/50-udev-default.rules:23 Unknown group 'tty', ignoring /lib/udev/rules.d/50-udev-default.rules:24 Unknown group 'tty', ignoring /lib/udev/rules.d/50-udev-default.rules:25 Unknown group 'dialout', ignoring /lib/udev/rules.d/50-udev-default.rules:27 Unknown group 'kmem', ignoring /lib/udev/rules.d/50-udev-default.rules:29 Unknown group 'input', ignoring /lib/udev/rules.d/50-udev-default.rules:32 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:33 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:34 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:35 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:36 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:37 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring Failed to scan devices: No such file or directory /lib/udev/rules.d/50-udev-default.rules:46 Unknown group 'audio', ignoring /lib/udev/rules.d/50-udev-default.rules:50 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:51 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:52 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:53 Unknown group 'video', ignoring /lib/udev/rules.d/50-udev-default.rules:55 Unknown group 'lp', ignoring /lib/udev/rules.d/50-udev-default.rules:56 Unknown group 'lp', ignoring /lib/udev/rules.d/50-udev-default.rules:57 Unknown group 'lp', ignoring /lib/udev/rules.d/50-udev-default.rules:58 Unknown group 'lp', ignoring /lib/udev/rules.d/50-udev-default.rules:59 Unknown group 'lp', ignoring /lib/udev/rules.d/50-udev-default.rules:60 Unknown group 'lp', ignoring /lib/udev/rules.d/50-udev-default.rules:62 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:63 Unknown group 'cdrom', ignoring /lib/udev/rules.d/50-udev-default.rules:64 Unknown group 'cdrom', ignoring /lib/udev/rules.d/50-udev-default.rules:65 Unknown group 'cdrom', ignoring /lib/udev/rules.d/50-udev-default.rules:66 Unknown group 'cdrom', ignoring /lib/udev/rules.d/50-udev-default.rules:67 Unknown group 'cdrom', ignoring /lib/udev/rules.d/50-udev-default.rules:69 Unknown group 'tape', ignoring /lib/udev/rules.d/50-udev-default.rules:70 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:71 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:72 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:73 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:74 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:75 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:76 Unknown group 'disk', ignoring /lib/udev/rules.d/50-udev-default.rules:85 Unknown group 'kvm', ignoring /lib/udev/rules.d/50-udev-default.rules:87 Unknown group 'kvm', ignoring /lib/udev/rules.d/80-debian-compat.rules:7 Unknown group 'dialout', ignoring /lib/udev/rules.d/80-debian-compat.rules:8 Unknown group 'dialout', ignoring /lib/udev/rules.d/80-debian-compat.rules:9 Unknown group 'kmem', ignoring /lib/udev/rules.d/80-debian-compat.rules:10 Unknown group 'cdrom', ignoring /lib/udev/rules.d/80-debian-compat.rules:11 Unknown group 'video', ignoring mdadm: cannot open /proc/partitions mdadm: No devices listed in conf file were found. /init: line 144: lvmetad: command not found /proc/mounts: _get_sysfs_dir fopen failed: No such file or directory /proc/devices: fopen failed: No such file or directory mdadm: cannot open /proc/partitions mdadm: No devices listed in conf file were found. Unable to open /sys/block: No such file or directory [ 0.797233] ldmtool[164]: segfault at 0 ip 0000564a892506a5 sp 00007fff8ee5b900 error 4 in ldmtool[564a8924e000+3000] [ 0.798117] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 /init: line 154: 164 Segmentation fault ldmtool create all Linux (none) 5.15.0-73-generic #80~20.04.1-Ubuntu SMP Wed May 17 14:58:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux /dev: total 12 crw------- 1 0 0 10, 235 Jun 15 11:58 autofs crw------- 1 0 0 10, 234 Jun 15 11:58 btrfs-control crw------- 1 0 0 10, 203 Jun 15 11:58 cuse lrwxrwxrwx 1 0 0 13 Jun 15 11:58 fd -> /proc/self/fd crw------- 1 0 0 10, 144 Jun 15 11:58 nvram drwxr-xr-x 2 0 0 4096 Jun 15 11:58 pts drwxr-xr-x 2 0 0 4096 Jun 15 11:58 shm drwxr-xr-x 2 0 0 4096 Jun 15 11:58 snd lrwxrwxrwx 1 0 0 15 Jun 15 11:58 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 0 0 15 Jun 15 11:58 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 0 0 15 Jun 15 11:58 stdout -> /proc/self/fd/1 crw------- 1 0 0 10, 239 Jun 15 11:58 uhid crw------- 1 0 0 10, 240 Jun 15 11:58 userio crw------- 1 0 0 10, 137 Jun 15 11:58 vhci crw------- 1 0 0 10, 238 Jun 15 11:58 vhost-net crw------- 1 0 0 10, 241 Jun 15 11:58 vhost-vsock crw------- 1 0 0 10, 249 Jun 15 11:58 zfs /dev/pts: total 0 /dev/shm: total 0 /dev/snd: total 0 cat: /proc/mounts: No such file or directory cat: /proc/mdstat: No such file or directory /proc/mounts: _get_sysfs_dir fopen failed: No such file or directory /proc/devices: fopen failed: No such file or directory /proc/mounts: _get_sysfs_dir fopen failed: No such file or directory /proc/devices: fopen failed: No such file or directory /proc/mounts: _get_sysfs_dir fopen failed: No such file or directory /proc/devices: fopen failed: No such file or directory /proc/mounts: _get_sysfs_dir fopen failed: No such file or directory /proc/devices: fopen failed: No such file or directory 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever cat: /etc/resolv.conf: No such file or directory libkmod: ERROR ../libkmod/libkmod-module.c:1668 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory Error: could not get list of modules: No such file or directory Thu Jun 15 11:58:49 UTC 2023 clocksource: cat: /sys/devices/system/clocksource/clocksource0/current_clocksource: No such file or directory uptime: cat: /proc/uptime: No such file or directory grep: /proc/cmdline: No such file or directory guestfsd --verbose lvm_system_dir = /tmp/lvm OCaml daemon loaded trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0' Failed to connect to virtio-serial channel. This is a fatal error and the appliance will now exit. Usually this error is caused by either QEMU or the appliance kernel not supporting the vmchannel method that the libguestfs library chose to use. Please run 'libguestfs-test-tool' and provide the complete, unedited output to the libguestfs developers, either in a bug report or on the libguestfs redhat com mailing list. guestfsd: open: /dev/virtio-ports/org.libguestfs.channel.0: No such file or directory Rebooting. [ 0.865289] sd 2:0:1:0: [sdb] Synchronizing SCSI cache [ 0.865794] sd 2:0:0:0: [sda] Synchronizing SCSI cache [ 0.866349] reboot: Restarting system [ 0.866638] reboot: machine restart libguestfs: error: appliance closed the connection unexpectedly, see earlier error messages libguestfs: child_cleanup: 0x564d39d94300: child process died libguestfs: sending SIGTERM to process 10 libguestfs: qemu maxrss 215456K libguestfs: error: guestfs_launch failed, see earlier error messages libguestfs: closing guestfs handle 0x564d39d94300 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsART0fq libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsx6wHdq
On Thu, Jun 15, 2023 at 09:18:38PM +0900, Vincent Mailhol wrote:
Hello,
I am using libguestfs in a Bazel's linux-sandbox environment[1].
When executing in that sandbox environment, I got frequent crashes.
Please find attached below the results of libguestfs-test-tool when run into that linux-sandbox environment. The most relevant part seems to be:
[ 0.797233] ldmtool[164]: segfault at 0 ip 0000564a892506a5 sp 00007fff8ee5b900 error 4 in ldmtool[564a8924e000+3000] [ 0.798117] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 /init: line 154: 164 Segmentation fault ldmtool create all
So the root cause seems to be around libldm. This mailing list seems to cover both libguestfs and libldm, so hopefully, I am at the right place to ask :)
Needless to say, when run outside of the sandbox environment, no crash were observed.
[1] linux-sandbox.cc Link: https://github.com/bazelbuild/bazel/blob/master/src/main/tools/linux-sandbox...
--- ... supermin: picked /sys/block/sdb/dev (8:16) as root device supermin: creating /dev/root as block special 8:16 supermin: mounting new root on /root [ 0.678248] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem [ 0.679832] EXT4-fs (sdb): mounted filesystem without journal. Opts: . Quota mode: none. supermin: deleting initramfs files supermin: chroot Starting /init script ... mount: only root can use "--types" option (effective UID is 65534) /init: line 38: /proc/cmdline: No such file or directory mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534)
It really goes wrong from here, where apparently it's not running as root (instead UID 65534), even though we're supposed to be running inside a Linux appliance virtual machine. Any idea why that would be? I looked at the sandbox and that would run the qemu process as UID "nobody" (which might be 65534). However I don't understand why that would affect anything running on the new kernel inside the appliance. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Hi Richard, On Fri. 16 Jun. 2023 à 03:08, Richard W.M. Jones <rjones@redhat.com> wrote:
On Thu, Jun 15, 2023 at 09:18:38PM +0900, Vincent Mailhol wrote:
Hello,
I am using libguestfs in a Bazel's linux-sandbox environment[1].
When executing in that sandbox environment, I got frequent crashes.
Please find attached below the results of libguestfs-test-tool when run into that linux-sandbox environment. The most relevant part seems to be:
[ 0.797233] ldmtool[164]: segfault at 0 ip 0000564a892506a5 sp 00007fff8ee5b900 error 4 in ldmtool[564a8924e000+3000] [ 0.798117] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 /init: line 154: 164 Segmentation fault ldmtool create all
So the root cause seems to be around libldm. This mailing list seems to cover both libguestfs and libldm, so hopefully, I am at the right place to ask :)
Needless to say, when run outside of the sandbox environment, no crash were observed.
[1] linux-sandbox.cc Link: https://github.com/bazelbuild/bazel/blob/master/src/main/tools/linux-sandbox...
--- ... supermin: picked /sys/block/sdb/dev (8:16) as root device supermin: creating /dev/root as block special 8:16 supermin: mounting new root on /root [ 0.678248] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem [ 0.679832] EXT4-fs (sdb): mounted filesystem without journal. Opts: . Quota mode: none. supermin: deleting initramfs files supermin: chroot Starting /init script ... mount: only root can use "--types" option (effective UID is 65534) /init: line 38: /proc/cmdline: No such file or directory mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534)
It really goes wrong from here, where apparently it's not running as root (instead UID 65534), even though we're supposed to be running inside a Linux appliance virtual machine.
Any idea why that would be?
I looked at the sandbox and that would run the qemu process as UID "nobody" (which might be 65534). However I don't understand why that would affect anything running on the new kernel inside the appliance.
And you were right. It was a fact that I got a crash in the sandbox but did not outside of it and I jumped to the conclusion that the root cause was linked to the sandbox. I continued the analysis and looked at all the differences between a successful libguestfs-test-tool log and the failed one. It turned out that the sandbox was not the cause. The culprit turns out to be the first line of the log: TMPDIR=/tmp. If I force TMPDIR=/var/tmp, the problem disappears !! This gave me a minimal reproducer: TMPDIR=/tmp/ libguestfs-test-tool That one crashed outside the sandbox. Next, my attention went to this line: libguestfs: checking for previously cached test results of /usr/bin/qemu-system-x86_64, in /tmp/.guestfs-1001 I did a: rm -rf /tmp/.guestfs-1001 and that solved my issue \o/ I still do not understand how I could get the issue of running of UID 65534 instead of root in the first place. I did other qemu experimentation, so not sure how, but I somehow got a corrupted environment under /tmp/.guestfs-1001. Last thing, the segfault on ldmtool [1] still seems a valid issue. Even if I now do have a workaround for my problem, that segfault might be worth a bit more investigation. Regardless, thanks a lot for your quick answer, that helped me to continue the troubleshooting. [1] ldmtool line 164 Link: https://github.com/mdbooth/libldm/blob/master/src/ldmtool.c#L164
On Fri, Jun 16, 2023 at 11:17:21AM +0900, Vincent MAILHOL wrote:
Hi Richard,
On Fri. 16 Jun. 2023 à 03:08, Richard W.M. Jones <rjones@redhat.com> wrote:
On Thu, Jun 15, 2023 at 09:18:38PM +0900, Vincent Mailhol wrote:
Hello,
I am using libguestfs in a Bazel's linux-sandbox environment[1].
When executing in that sandbox environment, I got frequent crashes.
Please find attached below the results of libguestfs-test-tool when run into that linux-sandbox environment. The most relevant part seems to be:
[ 0.797233] ldmtool[164]: segfault at 0 ip 0000564a892506a5 sp 00007fff8ee5b900 error 4 in ldmtool[564a8924e000+3000] [ 0.798117] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 /init: line 154: 164 Segmentation fault ldmtool create all
So the root cause seems to be around libldm. This mailing list seems to cover both libguestfs and libldm, so hopefully, I am at the right place to ask :)
Needless to say, when run outside of the sandbox environment, no crash were observed.
[1] linux-sandbox.cc Link: https://github.com/bazelbuild/bazel/blob/master/src/main/tools/linux-sandbox...
--- ... supermin: picked /sys/block/sdb/dev (8:16) as root device supermin: creating /dev/root as block special 8:16 supermin: mounting new root on /root [ 0.678248] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem [ 0.679832] EXT4-fs (sdb): mounted filesystem without journal. Opts: . Quota mode: none. supermin: deleting initramfs files supermin: chroot Starting /init script ... mount: only root can use "--types" option (effective UID is 65534) /init: line 38: /proc/cmdline: No such file or directory mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--types" option (effective UID is 65534) mount: only root can use "--options" option (effective UID is 65534)
It really goes wrong from here, where apparently it's not running as root (instead UID 65534), even though we're supposed to be running inside a Linux appliance virtual machine.
Any idea why that would be?
I looked at the sandbox and that would run the qemu process as UID "nobody" (which might be 65534). However I don't understand why that would affect anything running on the new kernel inside the appliance.
And you were right. It was a fact that I got a crash in the sandbox but did not outside of it and I jumped to the conclusion that the root cause was linked to the sandbox.
I continued the analysis and looked at all the differences between a successful libguestfs-test-tool log and the failed one. It turned out that the sandbox was not the cause. The culprit turns out to be the first line of the log: TMPDIR=/tmp.
If I force TMPDIR=/var/tmp, the problem disappears !!
This gave me a minimal reproducer:
TMPDIR=/tmp/ libguestfs-test-tool
That one crashed outside the sandbox. Next, my attention went to this line:
libguestfs: checking for previously cached test results of /usr/bin/qemu-system-x86_64, in /tmp/.guestfs-1001
I did a:
rm -rf /tmp/.guestfs-1001
and that solved my issue \o/
I still do not understand how I could get the issue of running of UID 65534 instead of root in the first place. I did other qemu experimentation, so not sure how, but I somehow got a corrupted environment under /tmp/.guestfs-1001.
We will cache the appliance under $TMPDIR/.guestfs-$UID/ (eg have a look at appliance/root in that directory). We rebuild it if the distro changes, so most of the time we don't have to rebuild it when launching libguestfs (although there was a long-standing bug which I fixed recently: https://github.com/libguestfs/supermin/commit/8c38641042e274a713a18daf7fc855...).
Last thing, the segfault on ldmtool [1] still seems a valid issue. Even if I now do have a workaround for my problem, that segfault might be worth a bit more investigation.
Yes that does look like a real problem. Does it crash if you just run ldmtool as a normal command, nothing to do with libguestfs? Might be a good idea to try to get a stack trace of the crash. Rich.
Regardless, thanks a lot for your quick answer, that helped me to continue the troubleshooting.
[1] ldmtool line 164 Link: https://github.com/mdbooth/libldm/blob/master/src/ldmtool.c#L164
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
On Fri. 16 juin 2023 at 16:34, Richard W.M. Jones <rjones@redhat.com> wrote: (...)
Last thing, the segfault on ldmtool [1] still seems a valid issue. Even if I now do have a workaround for my problem, that segfault might be worth a bit more investigation.
Yes that does look like a real problem. Does it crash if you just run ldmtool as a normal command, nothing to do with libguestfs? Might be a good idea to try to get a stack trace of the crash.
The fact is that it only crashes with the UUID 65534 in the qemu VM. I am not sure what command line is passed to ldmtool for this crash to occur. I can help to gather information, but my biggest issue is that I do not know how to interact with the VM under /tmp/.guestfs-1001/ [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] ^^^^ ^^^^^^^^^^^^^^^^^^^ This smells like a NULL pointer dereference. The instruction pointer being 563a225cd6a5, I installed libguestfs-tools-dbgsym and tried a: addr2line -e /usr/bin/ldmtool 564a892506a5 Results: ??:0 Without conviction, I also tried in GDB: $ gdb /usr/bin/ldmtool (...) Reading symbols from /usr/bin/ldmtool... Reading symbols from /usr/lib/debug/.build-id/21/37b4a64903ebe427c242be08b8d496ba570583.debug... (gdb) info line *0x564a892506a5 No line number information available for address 0x564a892506a5 Debug symbols are correctly installed but impossible to convert that instruction pointer into a line number. It is as if the ldmtool on my host and the ldmtool in the qemu VM were from a different build. I tried to mount /tmp/.guestfs-1001/appliance.d/root but that disk image did not contain ldmtool. I am not sure how to generate a stack trace or a core dump within that qemu VM. If you can tell me how to get an interactive prompt (or any other guidance) I can try to collect more information. Yours sincerely, Vincent Mailhol
On 6/19/23 13:18, Vincent MAILHOL wrote:
On Fri. 16 juin 2023 at 16:34, Richard W.M. Jones <rjones@redhat.com> wrote: (...)
Last thing, the segfault on ldmtool [1] still seems a valid issue. Even if I now do have a workaround for my problem, that segfault might be worth a bit more investigation.
Yes that does look like a real problem. Does it crash if you just run ldmtool as a normal command, nothing to do with libguestfs? Might be a good idea to try to get a stack trace of the crash.
The fact is that it only crashes with the UUID 65534 in the qemu VM. I am not sure what command line is passed to ldmtool for this crash to occur.
I can help to gather information, but my biggest issue is that I do not know how to interact with the VM under /tmp/.guestfs-1001/
[ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] ^^^^ ^^^^^^^^^^^^^^^^^^^ This smells like a NULL pointer dereference.
... Hey this is actually my line from an email I started writing earlier today :) , but I then decided not to send it. It certainly looks like a null pointer dereference, and if you disassemble the instruction byte stream dump (the "Code:" line from the kernel log) with (e.g.) ndisasm, that confirms it. You get something like 00000025 E8DBFDFFFF call 0xfffffffffffffe05 0000002A 4C8B20 mov r12,[rax] <---- crash 0000002D 4889442408 mov [rsp+0x8],rax 00000032 4C89E7 mov rdi,r12 00000035 E80BE1FFFF call 0xffffffffffffe145 with the "mov r12,[rax]" instruction faulting (with the previously called function presumably having returned 0 in rax). See the "<4c> 8b 20" substring in the "Code:" line -- the angle brackets point at the first byte of the crashing instruction. I didn't send the email ultimately because your email included a link [1] pointing at a particular line number: https://github.com/mdbooth/libldm/blob/master/src/ldmtool.c#L164 and so I assumed you actually traced the crash to that line. Is that the case? Or did you perhaps mistake *PID* 164 (from the kernel log) for the line number?
The instruction pointer being 563a225cd6a5, I installed libguestfs-tools-dbgsym and tried a:
addr2line -e /usr/bin/ldmtool 564a892506a5
Results:
??:0
Without conviction, I also tried in GDB:
$ gdb /usr/bin/ldmtool (...) Reading symbols from /usr/bin/ldmtool... Reading symbols from /usr/lib/debug/.build-id/21/37b4a64903ebe427c242be08b8d496ba570583.debug... (gdb) info line *0x564a892506a5 No line number information available for address 0x564a892506a5
Debug symbols are correctly installed but impossible to convert that instruction pointer into a line number. It is as if the ldmtool on my host and the ldmtool in the qemu VM were from a different build. I tried to mount /tmp/.guestfs-1001/appliance.d/root but that disk image did not contain ldmtool.
I am not sure how to generate a stack trace or a core dump within that qemu VM. If you can tell me how to get an interactive prompt (or any other guidance) I can try to collect more information.
The IP where the crash occurs is 0000563a225cd6a5. The ldmtool binary (as opposed to a shared object / library) is mapped into the process's address space at 563a225cb000, for a length of 0x3000 bytes. So the offending instruction is supposed to be 0000563a225cd6a5 - 563a225cb000 = 26A5. With the debug symbols installed, can you attach the output of objdump --headers --wide -S /usr/bin/ldmtool ? Can you try addr2line -p -i -f -e /usr/bin/ldmtool 26A5 ? (This still may not be good enough; we might have to offset the difference 0x26A5 with some address related to the .text section... The objdump output should help us experiment.) Laszlo
On Mon 19 June 2023 at 21:16, Laszlo Ersek <lersek@redhat.com> wrote:
On 6/19/23 13:18, Vincent MAILHOL wrote:
On Fri. 16 juin 2023 at 16:34, Richard W.M. Jones <rjones@redhat.com> wrote: (...)
Last thing, the segfault on ldmtool [1] still seems a valid issue. Even if I now do have a workaround for my problem, that segfault might be worth a bit more investigation.
Yes that does look like a real problem. Does it crash if you just run ldmtool as a normal command, nothing to do with libguestfs? Might be a good idea to try to get a stack trace of the crash.
The fact is that it only crashes with the UUID 65534 in the qemu VM. I am not sure what command line is passed to ldmtool for this crash to occur.
I can help to gather information, but my biggest issue is that I do not know how to interact with the VM under /tmp/.guestfs-1001/
[ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] ^^^^ ^^^^^^^^^^^^^^^^^^^ This smells like a NULL pointer dereference.
... Hey this is actually my line from an email I started writing earlier today :) , but I then decided not to send it.
It certainly looks like a null pointer dereference, and if you disassemble the instruction byte stream dump (the "Code:" line from the kernel log) with (e.g.) ndisasm, that confirms it. You get something like
00000025 E8DBFDFFFF call 0xfffffffffffffe05 0000002A 4C8B20 mov r12,[rax] <---- crash 0000002D 4889442408 mov [rsp+0x8],rax 00000032 4C89E7 mov rdi,r12 00000035 E80BE1FFFF call 0xffffffffffffe145
with the "mov r12,[rax]" instruction faulting (with the previously called function presumably having returned 0 in rax). See the "<4c> 8b 20" substring in the "Code:" line -- the angle brackets point at the first byte of the crashing instruction.
I didn't send the email ultimately because your email included a link [1] pointing at a particular line number:
https://github.com/mdbooth/libldm/blob/master/src/ldmtool.c#L164
and so I assumed you actually traced the crash to that line.
Is that the case?
Or did you perhaps mistake *PID* 164 (from the kernel log) for the line number?
Yes, two messages back, I misinterpreted the PID (164) as a line number. Because that particular line manipulate the result of a g_array_index(), it looked coherent with the potential NULL pointer dereference. Realizing my mistake, I then started to do a deeper addr2line investigation in the previous message. Sorry.
The instruction pointer being 563a225cd6a5, I installed libguestfs-tools-dbgsym and tried a:
addr2line -e /usr/bin/ldmtool 564a892506a5 ^^^^^^^^^^^^
Reading my previous message, I do not know where this 564a892506a5 comes from. I meant 563a225cd6a5 here (and below in gdb).
Results:
??:0
Without conviction, I also tried in GDB:
$ gdb /usr/bin/ldmtool (...) Reading symbols from /usr/bin/ldmtool... Reading symbols from /usr/lib/debug/.build-id/21/37b4a64903ebe427c242be08b8d496ba570583.debug... (gdb) info line *0x564a892506a5 No line number information available for address 0x564a892506a5
Debug symbols are correctly installed but impossible to convert that instruction pointer into a line number. It is as if the ldmtool on my host and the ldmtool in the qemu VM were from a different build. I tried to mount /tmp/.guestfs-1001/appliance.d/root but that disk image did not contain ldmtool.
I am not sure how to generate a stack trace or a core dump within that qemu VM. If you can tell me how to get an interactive prompt (or any other guidance) I can try to collect more information.
The IP where the crash occurs is 0000563a225cd6a5. The ldmtool binary (as opposed to a shared object / library) is mapped into the process's address space at 563a225cb000, for a length of 0x3000 bytes. So the offending instruction is supposed to be 0000563a225cd6a5 - 563a225cb000 = 26A5.
Thanks for the explanation.
With the debug symbols installed, can you attach the output of
objdump --headers --wide -S /usr/bin/ldmtool
?
Results attached at the bottom of the e-mail.
Can you try
addr2line -p -i -f -e /usr/bin/ldmtool 26A5
?
Unfortunately: $ addr2line -p -i -f -e /usr/bin/ldmtool 26a5 ?? ??:0
(This still may not be good enough; we might have to offset the difference 0x26A5 with some address related to the .text section... The objdump output should help us experiment.)
For what it is worth, I loaded the program in GDB: (gdb) break main Breakpoint 1 at 0x3ba0: file ldmtool.c, line 756. (gdb) run Starting program: /usr/bin/ldmtool [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Breakpoint 1, main (argc=1, argv=0x7fffffffdef8) at ldmtool.c:756 756 ldmtool.c: No such file or directory. (gdb) info proc map process 3968967 Mapped address spaces: Start Addr End Addr Size Offset objfile 0x555555554000 0x555555557000 0x3000 0x0 /usr/bin/ldmtool 0x555555557000 0x55555555a000 0x3000 0x3000 /usr/bin/ldmtool 0x55555555a000 0x55555555b000 0x1000 0x6000 /usr/bin/ldmtool 0x55555555c000 0x55555555d000 0x1000 0x7000 /usr/bin/ldmtool 0x55555555d000 0x55555555e000 0x1000 0x8000 /usr/bin/ldmtool 0x55555555e000 0x55555557f000 0x21000 0x0 [heap] 0x7ffff753b000 0x7ffff753f000 0x4000 0x0 <shared object mapping redacted> I am not sure why there is five segment for ldmtool. Regardless: (gdb) info line *(0x555555554000 + 0x26a5) No line number information available for address 0x5555555566a5 (gdb) info line *(0x555555557000 + 0x26a5) Line 717 of "ldmtool.c" starts at address 0x5555555596a5 <cmdline+245> and ends at 0x5555555596ad <cmdline+253>. (gdb) info line *(0x55555555a000 + 0x26a5) No line number information available for address 0x55555555c6a5 (gdb) info line *(0x55555555c000 + 0x26a5) No line number information available for address 0x55555555e6a5 (gdb) info line *(0x55555555d000 + 0x26a5) No line number information available for address 0x55555555f6a5 On the latest version: https://github.com/mdbooth/libldm/blob/master/src/ldmtool.c#L717 points to an empty line. But if I go a bit in the past (I am using Ubuntu 20.04) https://github.com/mdbooth/libldm/blob/5850aa5f060cd3a45d6d62c183261bba5096c... looks like a smoking gun! I am not yet sure how I found it, but seems like we have a case closed. I will send a patch right away. --- $ objdump --headers --wide -S /usr/bin/ldmtool /usr/bin/ldmtool: file format elf64-x86-64 Sections: Idx Name Size VMA LMA File off Algn Flags 0 .interp 0000001c 0000000000000318 0000000000000318 00000318 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .note.gnu.property 00000020 0000000000000338 0000000000000338 00000338 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 .note.gnu.build-id 00000024 0000000000000358 0000000000000358 00000358 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .note.ABI-tag 00000020 000000000000037c 000000000000037c 0000037c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .gnu.hash 00000040 00000000000003a0 00000000000003a0 000003a0 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 5 .dynsym 000009d8 00000000000003e0 00000000000003e0 000003e0 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .dynstr 000007ef 0000000000000db8 0000000000000db8 00000db8 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 7 .gnu.version 000000d2 00000000000015a8 00000000000015a8 000015a8 2**1 CONTENTS, ALLOC, LOAD, READONLY, DATA 8 .gnu.version_r 00000070 0000000000001680 0000000000001680 00001680 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 9 .rela.dyn 00000228 00000000000016f0 00000000000016f0 000016f0 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 10 .rela.plt 00000888 0000000000001918 0000000000001918 00001918 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 11 .init 0000001b 0000000000003000 0000000000003000 00003000 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 12 .plt 000005c0 0000000000003020 0000000000003020 00003020 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 13 .plt.got 00000010 00000000000035e0 00000000000035e0 000035e0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 14 .plt.sec 000005b0 00000000000035f0 00000000000035f0 000035f0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 15 .text 00001c45 0000000000003ba0 0000000000003ba0 00003ba0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 16 .fini 0000000d 00000000000057e8 00000000000057e8 000057e8 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 17 .rodata 0000064a 0000000000006000 0000000000006000 00006000 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 18 .eh_frame_hdr 000000ec 000000000000664c 000000000000664c 0000664c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 19 .eh_frame 00000660 0000000000006738 0000000000006738 00006738 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 20 .init_array 00000008 00000000000089b0 00000000000089b0 000079b0 2**3 CONTENTS, ALLOC, LOAD, DATA 21 .fini_array 00000008 00000000000089b8 00000000000089b8 000079b8 2**3 CONTENTS, ALLOC, LOAD, DATA 22 .data.rel.ro 000000b0 00000000000089c0 00000000000089c0 000079c0 2**5 CONTENTS, ALLOC, LOAD, DATA 23 .dynamic 00000260 0000000000008a70 0000000000008a70 00007a70 2**3 CONTENTS, ALLOC, LOAD, DATA 24 .got 00000328 0000000000008cd0 0000000000008cd0 00007cd0 2**3 CONTENTS, ALLOC, LOAD, DATA 25 .data 00000010 0000000000009000 0000000000009000 00008000 2**3 CONTENTS, ALLOC, LOAD, DATA 26 .bss 00000038 0000000000009020 0000000000009020 00008010 2**5 ALLOC 27 .gnu_debuglink 00000034 0000000000000000 0000000000000000 00008010 2**2 CONTENTS, READONLY Disassembly of section .init: 0000000000003000 <.init>: 3000: f3 0f 1e fa endbr64 3004: 48 83 ec 08 sub $0x8,%rsp 3008: 48 8b 05 b9 5f 00 00 mov 0x5fb9(%rip),%rax # 8fc8 <__gmon_start__> 300f: 48 85 c0 test %rax,%rax 3012: 74 02 je 3016 <__cxa_finalize@plt-0x5ca> 3014: ff d0 callq *%rax 3016: 48 83 c4 08 add $0x8,%rsp 301a: c3 retq Disassembly of section .plt: 0000000000003020 <.plt>: 3020: ff 35 b2 5c 00 00 pushq 0x5cb2(%rip) # 8cd8 <_IO_stdin_used@@Base+0x2cd8> 3026: f2 ff 25 b3 5c 00 00 bnd jmpq *0x5cb3(%rip) # 8ce0 <_IO_stdin_used@@Base+0x2ce0> 302d: 0f 1f 00 nopl (%rax) 3030: f3 0f 1e fa endbr64 3034: 68 00 00 00 00 pushq $0x0 3039: f2 e9 e1 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 303f: 90 nop 3040: f3 0f 1e fa endbr64 3044: 68 01 00 00 00 pushq $0x1 3049: f2 e9 d1 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 304f: 90 nop 3050: f3 0f 1e fa endbr64 3054: 68 02 00 00 00 pushq $0x2 3059: f2 e9 c1 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 305f: 90 nop 3060: f3 0f 1e fa endbr64 3064: 68 03 00 00 00 pushq $0x3 3069: f2 e9 b1 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 306f: 90 nop 3070: f3 0f 1e fa endbr64 3074: 68 04 00 00 00 pushq $0x4 3079: f2 e9 a1 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 307f: 90 nop 3080: f3 0f 1e fa endbr64 3084: 68 05 00 00 00 pushq $0x5 3089: f2 e9 91 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 308f: 90 nop 3090: f3 0f 1e fa endbr64 3094: 68 06 00 00 00 pushq $0x6 3099: f2 e9 81 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 309f: 90 nop 30a0: f3 0f 1e fa endbr64 30a4: 68 07 00 00 00 pushq $0x7 30a9: f2 e9 71 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 30af: 90 nop 30b0: f3 0f 1e fa endbr64 30b4: 68 08 00 00 00 pushq $0x8 30b9: f2 e9 61 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 30bf: 90 nop 30c0: f3 0f 1e fa endbr64 30c4: 68 09 00 00 00 pushq $0x9 30c9: f2 e9 51 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 30cf: 90 nop 30d0: f3 0f 1e fa endbr64 30d4: 68 0a 00 00 00 pushq $0xa 30d9: f2 e9 41 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 30df: 90 nop 30e0: f3 0f 1e fa endbr64 30e4: 68 0b 00 00 00 pushq $0xb 30e9: f2 e9 31 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 30ef: 90 nop 30f0: f3 0f 1e fa endbr64 30f4: 68 0c 00 00 00 pushq $0xc 30f9: f2 e9 21 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 30ff: 90 nop 3100: f3 0f 1e fa endbr64 3104: 68 0d 00 00 00 pushq $0xd 3109: f2 e9 11 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 310f: 90 nop 3110: f3 0f 1e fa endbr64 3114: 68 0e 00 00 00 pushq $0xe 3119: f2 e9 01 ff ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 311f: 90 nop 3120: f3 0f 1e fa endbr64 3124: 68 0f 00 00 00 pushq $0xf 3129: f2 e9 f1 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 312f: 90 nop 3130: f3 0f 1e fa endbr64 3134: 68 10 00 00 00 pushq $0x10 3139: f2 e9 e1 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 313f: 90 nop 3140: f3 0f 1e fa endbr64 3144: 68 11 00 00 00 pushq $0x11 3149: f2 e9 d1 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 314f: 90 nop 3150: f3 0f 1e fa endbr64 3154: 68 12 00 00 00 pushq $0x12 3159: f2 e9 c1 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 315f: 90 nop 3160: f3 0f 1e fa endbr64 3164: 68 13 00 00 00 pushq $0x13 3169: f2 e9 b1 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 316f: 90 nop 3170: f3 0f 1e fa endbr64 3174: 68 14 00 00 00 pushq $0x14 3179: f2 e9 a1 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 317f: 90 nop 3180: f3 0f 1e fa endbr64 3184: 68 15 00 00 00 pushq $0x15 3189: f2 e9 91 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 318f: 90 nop 3190: f3 0f 1e fa endbr64 3194: 68 16 00 00 00 pushq $0x16 3199: f2 e9 81 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 319f: 90 nop 31a0: f3 0f 1e fa endbr64 31a4: 68 17 00 00 00 pushq $0x17 31a9: f2 e9 71 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 31af: 90 nop 31b0: f3 0f 1e fa endbr64 31b4: 68 18 00 00 00 pushq $0x18 31b9: f2 e9 61 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 31bf: 90 nop 31c0: f3 0f 1e fa endbr64 31c4: 68 19 00 00 00 pushq $0x19 31c9: f2 e9 51 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 31cf: 90 nop 31d0: f3 0f 1e fa endbr64 31d4: 68 1a 00 00 00 pushq $0x1a 31d9: f2 e9 41 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 31df: 90 nop 31e0: f3 0f 1e fa endbr64 31e4: 68 1b 00 00 00 pushq $0x1b 31e9: f2 e9 31 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 31ef: 90 nop 31f0: f3 0f 1e fa endbr64 31f4: 68 1c 00 00 00 pushq $0x1c 31f9: f2 e9 21 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 31ff: 90 nop 3200: f3 0f 1e fa endbr64 3204: 68 1d 00 00 00 pushq $0x1d 3209: f2 e9 11 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 320f: 90 nop 3210: f3 0f 1e fa endbr64 3214: 68 1e 00 00 00 pushq $0x1e 3219: f2 e9 01 fe ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 321f: 90 nop 3220: f3 0f 1e fa endbr64 3224: 68 1f 00 00 00 pushq $0x1f 3229: f2 e9 f1 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 322f: 90 nop 3230: f3 0f 1e fa endbr64 3234: 68 20 00 00 00 pushq $0x20 3239: f2 e9 e1 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 323f: 90 nop 3240: f3 0f 1e fa endbr64 3244: 68 21 00 00 00 pushq $0x21 3249: f2 e9 d1 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 324f: 90 nop 3250: f3 0f 1e fa endbr64 3254: 68 22 00 00 00 pushq $0x22 3259: f2 e9 c1 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 325f: 90 nop 3260: f3 0f 1e fa endbr64 3264: 68 23 00 00 00 pushq $0x23 3269: f2 e9 b1 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 326f: 90 nop 3270: f3 0f 1e fa endbr64 3274: 68 24 00 00 00 pushq $0x24 3279: f2 e9 a1 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 327f: 90 nop 3280: f3 0f 1e fa endbr64 3284: 68 25 00 00 00 pushq $0x25 3289: f2 e9 91 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 328f: 90 nop 3290: f3 0f 1e fa endbr64 3294: 68 26 00 00 00 pushq $0x26 3299: f2 e9 81 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 329f: 90 nop 32a0: f3 0f 1e fa endbr64 32a4: 68 27 00 00 00 pushq $0x27 32a9: f2 e9 71 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 32af: 90 nop 32b0: f3 0f 1e fa endbr64 32b4: 68 28 00 00 00 pushq $0x28 32b9: f2 e9 61 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 32bf: 90 nop 32c0: f3 0f 1e fa endbr64 32c4: 68 29 00 00 00 pushq $0x29 32c9: f2 e9 51 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 32cf: 90 nop 32d0: f3 0f 1e fa endbr64 32d4: 68 2a 00 00 00 pushq $0x2a 32d9: f2 e9 41 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 32df: 90 nop 32e0: f3 0f 1e fa endbr64 32e4: 68 2b 00 00 00 pushq $0x2b 32e9: f2 e9 31 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 32ef: 90 nop 32f0: f3 0f 1e fa endbr64 32f4: 68 2c 00 00 00 pushq $0x2c 32f9: f2 e9 21 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 32ff: 90 nop 3300: f3 0f 1e fa endbr64 3304: 68 2d 00 00 00 pushq $0x2d 3309: f2 e9 11 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 330f: 90 nop 3310: f3 0f 1e fa endbr64 3314: 68 2e 00 00 00 pushq $0x2e 3319: f2 e9 01 fd ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 331f: 90 nop 3320: f3 0f 1e fa endbr64 3324: 68 2f 00 00 00 pushq $0x2f 3329: f2 e9 f1 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 332f: 90 nop 3330: f3 0f 1e fa endbr64 3334: 68 30 00 00 00 pushq $0x30 3339: f2 e9 e1 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 333f: 90 nop 3340: f3 0f 1e fa endbr64 3344: 68 31 00 00 00 pushq $0x31 3349: f2 e9 d1 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 334f: 90 nop 3350: f3 0f 1e fa endbr64 3354: 68 32 00 00 00 pushq $0x32 3359: f2 e9 c1 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 335f: 90 nop 3360: f3 0f 1e fa endbr64 3364: 68 33 00 00 00 pushq $0x33 3369: f2 e9 b1 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 336f: 90 nop 3370: f3 0f 1e fa endbr64 3374: 68 34 00 00 00 pushq $0x34 3379: f2 e9 a1 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 337f: 90 nop 3380: f3 0f 1e fa endbr64 3384: 68 35 00 00 00 pushq $0x35 3389: f2 e9 91 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 338f: 90 nop 3390: f3 0f 1e fa endbr64 3394: 68 36 00 00 00 pushq $0x36 3399: f2 e9 81 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 339f: 90 nop 33a0: f3 0f 1e fa endbr64 33a4: 68 37 00 00 00 pushq $0x37 33a9: f2 e9 71 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 33af: 90 nop 33b0: f3 0f 1e fa endbr64 33b4: 68 38 00 00 00 pushq $0x38 33b9: f2 e9 61 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 33bf: 90 nop 33c0: f3 0f 1e fa endbr64 33c4: 68 39 00 00 00 pushq $0x39 33c9: f2 e9 51 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 33cf: 90 nop 33d0: f3 0f 1e fa endbr64 33d4: 68 3a 00 00 00 pushq $0x3a 33d9: f2 e9 41 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 33df: 90 nop 33e0: f3 0f 1e fa endbr64 33e4: 68 3b 00 00 00 pushq $0x3b 33e9: f2 e9 31 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 33ef: 90 nop 33f0: f3 0f 1e fa endbr64 33f4: 68 3c 00 00 00 pushq $0x3c 33f9: f2 e9 21 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 33ff: 90 nop 3400: f3 0f 1e fa endbr64 3404: 68 3d 00 00 00 pushq $0x3d 3409: f2 e9 11 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 340f: 90 nop 3410: f3 0f 1e fa endbr64 3414: 68 3e 00 00 00 pushq $0x3e 3419: f2 e9 01 fc ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 341f: 90 nop 3420: f3 0f 1e fa endbr64 3424: 68 3f 00 00 00 pushq $0x3f 3429: f2 e9 f1 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 342f: 90 nop 3430: f3 0f 1e fa endbr64 3434: 68 40 00 00 00 pushq $0x40 3439: f2 e9 e1 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 343f: 90 nop 3440: f3 0f 1e fa endbr64 3444: 68 41 00 00 00 pushq $0x41 3449: f2 e9 d1 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 344f: 90 nop 3450: f3 0f 1e fa endbr64 3454: 68 42 00 00 00 pushq $0x42 3459: f2 e9 c1 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 345f: 90 nop 3460: f3 0f 1e fa endbr64 3464: 68 43 00 00 00 pushq $0x43 3469: f2 e9 b1 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 346f: 90 nop 3470: f3 0f 1e fa endbr64 3474: 68 44 00 00 00 pushq $0x44 3479: f2 e9 a1 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 347f: 90 nop 3480: f3 0f 1e fa endbr64 3484: 68 45 00 00 00 pushq $0x45 3489: f2 e9 91 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 348f: 90 nop 3490: f3 0f 1e fa endbr64 3494: 68 46 00 00 00 pushq $0x46 3499: f2 e9 81 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 349f: 90 nop 34a0: f3 0f 1e fa endbr64 34a4: 68 47 00 00 00 pushq $0x47 34a9: f2 e9 71 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 34af: 90 nop 34b0: f3 0f 1e fa endbr64 34b4: 68 48 00 00 00 pushq $0x48 34b9: f2 e9 61 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 34bf: 90 nop 34c0: f3 0f 1e fa endbr64 34c4: 68 49 00 00 00 pushq $0x49 34c9: f2 e9 51 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 34cf: 90 nop 34d0: f3 0f 1e fa endbr64 34d4: 68 4a 00 00 00 pushq $0x4a 34d9: f2 e9 41 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 34df: 90 nop 34e0: f3 0f 1e fa endbr64 34e4: 68 4b 00 00 00 pushq $0x4b 34e9: f2 e9 31 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 34ef: 90 nop 34f0: f3 0f 1e fa endbr64 34f4: 68 4c 00 00 00 pushq $0x4c 34f9: f2 e9 21 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 34ff: 90 nop 3500: f3 0f 1e fa endbr64 3504: 68 4d 00 00 00 pushq $0x4d 3509: f2 e9 11 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 350f: 90 nop 3510: f3 0f 1e fa endbr64 3514: 68 4e 00 00 00 pushq $0x4e 3519: f2 e9 01 fb ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 351f: 90 nop 3520: f3 0f 1e fa endbr64 3524: 68 4f 00 00 00 pushq $0x4f 3529: f2 e9 f1 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 352f: 90 nop 3530: f3 0f 1e fa endbr64 3534: 68 50 00 00 00 pushq $0x50 3539: f2 e9 e1 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 353f: 90 nop 3540: f3 0f 1e fa endbr64 3544: 68 51 00 00 00 pushq $0x51 3549: f2 e9 d1 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 354f: 90 nop 3550: f3 0f 1e fa endbr64 3554: 68 52 00 00 00 pushq $0x52 3559: f2 e9 c1 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 355f: 90 nop 3560: f3 0f 1e fa endbr64 3564: 68 53 00 00 00 pushq $0x53 3569: f2 e9 b1 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 356f: 90 nop 3570: f3 0f 1e fa endbr64 3574: 68 54 00 00 00 pushq $0x54 3579: f2 e9 a1 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 357f: 90 nop 3580: f3 0f 1e fa endbr64 3584: 68 55 00 00 00 pushq $0x55 3589: f2 e9 91 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 358f: 90 nop 3590: f3 0f 1e fa endbr64 3594: 68 56 00 00 00 pushq $0x56 3599: f2 e9 81 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 359f: 90 nop 35a0: f3 0f 1e fa endbr64 35a4: 68 57 00 00 00 pushq $0x57 35a9: f2 e9 71 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 35af: 90 nop 35b0: f3 0f 1e fa endbr64 35b4: 68 58 00 00 00 pushq $0x58 35b9: f2 e9 61 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 35bf: 90 nop 35c0: f3 0f 1e fa endbr64 35c4: 68 59 00 00 00 pushq $0x59 35c9: f2 e9 51 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 35cf: 90 nop 35d0: f3 0f 1e fa endbr64 35d4: 68 5a 00 00 00 pushq $0x5a 35d9: f2 e9 41 fa ff ff bnd jmpq 3020 <__cxa_finalize@plt-0x5c0> 35df: 90 nop Disassembly of section .plt.got: 00000000000035e0 <__cxa_finalize@plt>: 35e0: f3 0f 1e fa endbr64 35e4: f2 ff 25 fd 59 00 00 bnd jmpq *0x59fd(%rip) # 8fe8 <__cxa_finalize@GLIBC_2.2.5> 35eb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .plt.sec: 00000000000035f0 <ldm_volume_get_hint@plt>: 35f0: f3 0f 1e fa endbr64 35f4: f2 ff 25 ed 56 00 00 bnd jmpq *0x56ed(%rip) # 8ce8 <ldm_volume_get_hint> 35fb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003600 <ldm_partition_get_disk@plt>: 3600: f3 0f 1e fa endbr64 3604: f2 ff 25 e5 56 00 00 bnd jmpq *0x56e5(%rip) # 8cf0 <ldm_partition_get_disk> 360b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003610 <g_free@plt>: 3610: f3 0f 1e fa endbr64 3614: f2 ff 25 dd 56 00 00 bnd jmpq *0x56dd(%rip) # 8cf8 <g_free> 361b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003620 <ldm_add@plt>: 3620: f3 0f 1e fa endbr64 3624: f2 ff 25 d5 56 00 00 bnd jmpq *0x56d5(%rip) # 8d00 <ldm_add> 362b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003630 <ldm_disk_group_get_partitions@plt>: 3630: f3 0f 1e fa endbr64 3634: f2 ff 25 cd 56 00 00 bnd jmpq *0x56cd(%rip) # 8d08 <ldm_disk_group_get_partitions> 363b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003640 <ldm_volume_get_chunk_size@plt>: 3640: f3 0f 1e fa endbr64 3644: f2 ff 25 c5 56 00 00 bnd jmpq *0x56c5(%rip) # 8d10 <ldm_volume_get_chunk_size> 364b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003650 <ldm_volume_get_name@plt>: 3650: f3 0f 1e fa endbr64 3654: f2 ff 25 bd 56 00 00 bnd jmpq *0x56bd(%rip) # 8d18 <ldm_volume_get_name> 365b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003660 <g_shell_parse_argv@plt>: 3660: f3 0f 1e fa endbr64 3664: f2 ff 25 b5 56 00 00 bnd jmpq *0x56b5(%rip) # 8d20 <g_shell_parse_argv> 366b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003670 <close@plt>: 3670: f3 0f 1e fa endbr64 3674: f2 ff 25 ad 56 00 00 bnd jmpq *0x56ad(%rip) # 8d28 <close@GLIBC_2.2.5> 367b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003680 <ldm_disk_get_data_start@plt>: 3680: f3 0f 1e fa endbr64 3684: f2 ff 25 a5 56 00 00 bnd jmpq *0x56a5(%rip) # 8d30 <ldm_disk_get_data_start> 368b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003690 <g_option_context_free@plt>: 3690: f3 0f 1e fa endbr64 3694: f2 ff 25 9d 56 00 00 bnd jmpq *0x569d(%rip) # 8d38 <g_option_context_free> 369b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000036a0 <g_output_stream_close@plt>: 36a0: f3 0f 1e fa endbr64 36a4: f2 ff 25 95 56 00 00 bnd jmpq *0x5695(%rip) # 8d40 <g_output_stream_close> 36ab: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000036b0 <__fprintf_chk@plt>: 36b0: f3 0f 1e fa endbr64 36b4: f2 ff 25 8d 56 00 00 bnd jmpq *0x568d(%rip) # 8d48 <__fprintf_chk@GLIBC_2.3.4> 36bb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000036c0 <puts@plt>: 36c0: f3 0f 1e fa endbr64 36c4: f2 ff 25 85 56 00 00 bnd jmpq *0x5685(%rip) # 8d50 <puts@GLIBC_2.2.5> 36cb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000036d0 <g_object_unref@plt>: 36d0: f3 0f 1e fa endbr64 36d4: f2 ff 25 7d 56 00 00 bnd jmpq *0x567d(%rip) # 8d58 <g_object_unref> 36db: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000036e0 <g_strcmp0@plt>: 36e0: f3 0f 1e fa endbr64 36e4: f2 ff 25 75 56 00 00 bnd jmpq *0x5675(%rip) # 8d60 <g_strcmp0> 36eb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000036f0 <json_builder_begin_object@plt>: 36f0: f3 0f 1e fa endbr64 36f4: f2 ff 25 6d 56 00 00 bnd jmpq *0x566d(%rip) # 8d68 <json_builder_begin_object> 36fb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003700 <__printf_chk@plt>: 3700: f3 0f 1e fa endbr64 3704: f2 ff 25 65 56 00 00 bnd jmpq *0x5665(%rip) # 8d70 <__printf_chk@GLIBC_2.3.4> 370b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003710 <read_history@plt>: 3710: f3 0f 1e fa endbr64 3714: f2 ff 25 5d 56 00 00 bnd jmpq *0x565d(%rip) # 8d78 <read_history> 371b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003720 <putchar@plt>: 3720: f3 0f 1e fa endbr64 3724: f2 ff 25 55 56 00 00 bnd jmpq *0x5655(%rip) # 8d80 <putchar@GLIBC_2.2.5> 372b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003730 <g_array_new@plt>: 3730: f3 0f 1e fa endbr64 3734: f2 ff 25 4d 56 00 00 bnd jmpq *0x564d(%rip) # 8d88 <g_array_new> 373b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003740 <ldm_disk_get_device@plt>: 3740: f3 0f 1e fa endbr64 3744: f2 ff 25 45 56 00 00 bnd jmpq *0x5645(%rip) # 8d90 <ldm_disk_get_device> 374b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003750 <json_builder_add_int_value@plt>: 3750: f3 0f 1e fa endbr64 3754: f2 ff 25 3d 56 00 00 bnd jmpq *0x563d(%rip) # 8d98 <json_builder_add_int_value> 375b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003760 <g_array_unref@plt>: 3760: f3 0f 1e fa endbr64 3764: f2 ff 25 35 56 00 00 bnd jmpq *0x5635(%rip) # 8da0 <g_array_unref> 376b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003770 <json_builder_end_object@plt>: 3770: f3 0f 1e fa endbr64 3774: f2 ff 25 2d 56 00 00 bnd jmpq *0x562d(%rip) # 8da8 <json_builder_end_object> 377b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003780 <ldm_disk_get_metadata_size@plt>: 3780: f3 0f 1e fa endbr64 3784: f2 ff 25 25 56 00 00 bnd jmpq *0x5625(%rip) # 8db0 <ldm_disk_get_metadata_size> 378b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003790 <ldm_new@plt>: 3790: f3 0f 1e fa endbr64 3794: f2 ff 25 1d 56 00 00 bnd jmpq *0x561d(%rip) # 8db8 <ldm_new> 379b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000037a0 <json_generator_set_root@plt>: 37a0: f3 0f 1e fa endbr64 37a4: f2 ff 25 15 56 00 00 bnd jmpq *0x5615(%rip) # 8dc0 <json_generator_set_root> 37ab: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000037b0 <g_option_context_add_main_entries@plt>: 37b0: f3 0f 1e fa endbr64 37b4: f2 ff 25 0d 56 00 00 bnd jmpq *0x560d(%rip) # 8dc8 <g_option_context_add_main_entries> 37bb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000037c0 <g_strv_length@plt>: 37c0: f3 0f 1e fa endbr64 37c4: f2 ff 25 05 56 00 00 bnd jmpq *0x5605(%rip) # 8dd0 <g_strv_length> 37cb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000037d0 <g_shell_error_quark@plt>: 37d0: f3 0f 1e fa endbr64 37d4: f2 ff 25 fd 55 00 00 bnd jmpq *0x55fd(%rip) # 8dd8 <g_shell_error_quark> 37db: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000037e0 <g_enum_get_value@plt>: 37e0: f3 0f 1e fa endbr64 37e4: f2 ff 25 f5 55 00 00 bnd jmpq *0x55f5(%rip) # 8de0 <g_enum_get_value> 37eb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000037f0 <g_object_ref@plt>: 37f0: f3 0f 1e fa endbr64 37f4: f2 ff 25 ed 55 00 00 bnd jmpq *0x55ed(%rip) # 8de8 <g_object_ref> 37fb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003800 <free@plt>: 3800: f3 0f 1e fa endbr64 3804: f2 ff 25 e5 55 00 00 bnd jmpq *0x55e5(%rip) # 8df0 <free@GLIBC_2.2.5> 380b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003810 <__asprintf_chk@plt>: 3810: f3 0f 1e fa endbr64 3814: f2 ff 25 dd 55 00 00 bnd jmpq *0x55dd(%rip) # 8df8 <__asprintf_chk@GLIBC_2.8> 381b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003820 <opendir@plt>: 3820: f3 0f 1e fa endbr64 3824: f2 ff 25 d5 55 00 00 bnd jmpq *0x55d5(%rip) # 8e00 <opendir@GLIBC_2.2.5> 382b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003830 <g_string_free@plt>: 3830: f3 0f 1e fa endbr64 3834: f2 ff 25 cd 55 00 00 bnd jmpq *0x55cd(%rip) # 8e08 <g_string_free> 383b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003840 <json_builder_end_array@plt>: 3840: f3 0f 1e fa endbr64 3844: f2 ff 25 c5 55 00 00 bnd jmpq *0x55c5(%rip) # 8e10 <json_builder_end_array> 384b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003850 <g_option_context_set_summary@plt>: 3850: f3 0f 1e fa endbr64 3854: f2 ff 25 bd 55 00 00 bnd jmpq *0x55bd(%rip) # 8e18 <g_option_context_set_summary> 385b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003860 <readdir@plt>: 3860: f3 0f 1e fa endbr64 3864: f2 ff 25 b5 55 00 00 bnd jmpq *0x55b5(%rip) # 8e20 <readdir@GLIBC_2.2.5> 386b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003870 <ldm_partition_get_size@plt>: 3870: f3 0f 1e fa endbr64 3874: f2 ff 25 ad 55 00 00 bnd jmpq *0x55ad(%rip) # 8e28 <ldm_partition_get_size> 387b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003880 <wordexp@plt>: 3880: f3 0f 1e fa endbr64 3884: f2 ff 25 a5 55 00 00 bnd jmpq *0x55a5(%rip) # 8e30 <wordexp@GLIBC_2.2.5> 388b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003890 <ldm_volume_get_partitions@plt>: 3890: f3 0f 1e fa endbr64 3894: f2 ff 25 9d 55 00 00 bnd jmpq *0x559d(%rip) # 8e38 <ldm_volume_get_partitions> 389b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000038a0 <g_type_class_peek@plt>: 38a0: f3 0f 1e fa endbr64 38a4: f2 ff 25 95 55 00 00 bnd jmpq *0x5595(%rip) # 8e40 <g_type_class_peek> 38ab: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000038b0 <json_builder_add_string_value@plt>: 38b0: f3 0f 1e fa endbr64 38b4: f2 ff 25 8d 55 00 00 bnd jmpq *0x558d(%rip) # 8e48 <json_builder_add_string_value> 38bb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000038c0 <g_option_context_parse@plt>: 38c0: f3 0f 1e fa endbr64 38c4: f2 ff 25 85 55 00 00 bnd jmpq *0x5585(%rip) # 8e50 <g_option_context_parse> 38cb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000038d0 <g_object_get@plt>: 38d0: f3 0f 1e fa endbr64 38d4: f2 ff 25 7d 55 00 00 bnd jmpq *0x557d(%rip) # 8e58 <g_object_get> 38db: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000038e0 <strerror@plt>: 38e0: f3 0f 1e fa endbr64 38e4: f2 ff 25 75 55 00 00 bnd jmpq *0x5575(%rip) # 8e60 <strerror@GLIBC_2.2.5> 38eb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000038f0 <json_builder_add_boolean_value@plt>: 38f0: f3 0f 1e fa endbr64 38f4: f2 ff 25 6d 55 00 00 bnd jmpq *0x556d(%rip) # 8e68 <json_builder_add_boolean_value> 38fb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003900 <json_generator_set_indent@plt>: 3900: f3 0f 1e fa endbr64 3904: f2 ff 25 65 55 00 00 bnd jmpq *0x5565(%rip) # 8e70 <json_generator_set_indent> 390b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003910 <ldm_disk_group_get_name@plt>: 3910: f3 0f 1e fa endbr64 3914: f2 ff 25 5d 55 00 00 bnd jmpq *0x555d(%rip) # 8e78 <ldm_disk_group_get_name> 391b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003920 <g_unix_output_stream_new@plt>: 3920: f3 0f 1e fa endbr64 3924: f2 ff 25 55 55 00 00 bnd jmpq *0x5555(%rip) # 8e80 <g_unix_output_stream_new> 392b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003930 <ldm_disk_get_metadata_start@plt>: 3930: f3 0f 1e fa endbr64 3934: f2 ff 25 4d 55 00 00 bnd jmpq *0x554d(%rip) # 8e88 <ldm_disk_get_metadata_start> 393b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003940 <json_builder_get_root@plt>: 3940: f3 0f 1e fa endbr64 3944: f2 ff 25 45 55 00 00 bnd jmpq *0x5545(%rip) # 8e90 <json_builder_get_root> 394b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003950 <ldm_disk_group_get_volumes@plt>: 3950: f3 0f 1e fa endbr64 3954: f2 ff 25 3d 55 00 00 bnd jmpq *0x553d(%rip) # 8e98 <ldm_disk_group_get_volumes> 395b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003960 <ldm_partition_get_start@plt>: 3960: f3 0f 1e fa endbr64 3964: f2 ff 25 35 55 00 00 bnd jmpq *0x5535(%rip) # 8ea0 <ldm_partition_get_start> 396b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003970 <ldm_volume_type_get_type@plt>: 3970: f3 0f 1e fa endbr64 3974: f2 ff 25 2d 55 00 00 bnd jmpq *0x552d(%rip) # 8ea8 <ldm_volume_type_get_type> 397b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003980 <getenv@plt>: 3980: f3 0f 1e fa endbr64 3984: f2 ff 25 25 55 00 00 bnd jmpq *0x5525(%rip) # 8eb0 <getenv@GLIBC_2.2.5> 398b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003990 <append_history@plt>: 3990: f3 0f 1e fa endbr64 3994: f2 ff 25 1d 55 00 00 bnd jmpq *0x551d(%rip) # 8eb8 <append_history> 399b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000039a0 <readline@plt>: 39a0: f3 0f 1e fa endbr64 39a4: f2 ff 25 15 55 00 00 bnd jmpq *0x5515(%rip) # 8ec0 <readline> 39ab: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000039b0 <ldm_volume_get_size@plt>: 39b0: f3 0f 1e fa endbr64 39b4: f2 ff 25 0d 55 00 00 bnd jmpq *0x550d(%rip) # 8ec8 <ldm_volume_get_size> 39bb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000039c0 <json_generator_set_pretty@plt>: 39c0: f3 0f 1e fa endbr64 39c4: f2 ff 25 05 55 00 00 bnd jmpq *0x5505(%rip) # 8ed0 <json_generator_set_pretty> 39cb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000039d0 <__stack_chk_fail@plt>: 39d0: f3 0f 1e fa endbr64 39d4: f2 ff 25 fd 54 00 00 bnd jmpq *0x54fd(%rip) # 8ed8 <__stack_chk_fail@GLIBC_2.4> 39db: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000039e0 <ldm_disk_group_get_disks@plt>: 39e0: f3 0f 1e fa endbr64 39e4: f2 ff 25 f5 54 00 00 bnd jmpq *0x54f5(%rip) # 8ee0 <ldm_disk_group_get_disks> 39eb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000039f0 <json_builder_set_member_name@plt>: 39f0: f3 0f 1e fa endbr64 39f4: f2 ff 25 ed 54 00 00 bnd jmpq *0x54ed(%rip) # 8ee8 <json_builder_set_member_name> 39fb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a00 <json_generator_to_stream@plt>: 3a00: f3 0f 1e fa endbr64 3a04: f2 ff 25 e5 54 00 00 bnd jmpq *0x54e5(%rip) # 8ef0 <json_generator_to_stream> 3a0b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a10 <g_array_set_clear_func@plt>: 3a10: f3 0f 1e fa endbr64 3a14: f2 ff 25 dd 54 00 00 bnd jmpq *0x54dd(%rip) # 8ef8 <g_array_set_clear_func> 3a1b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a20 <g_log_set_handler@plt>: 3a20: f3 0f 1e fa endbr64 3a24: f2 ff 25 d5 54 00 00 bnd jmpq *0x54d5(%rip) # 8f00 <g_log_set_handler> 3a2b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a30 <json_builder_reset@plt>: 3a30: f3 0f 1e fa endbr64 3a34: f2 ff 25 cd 54 00 00 bnd jmpq *0x54cd(%rip) # 8f08 <json_builder_reset> 3a3b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a40 <json_generator_new@plt>: 3a40: f3 0f 1e fa endbr64 3a44: f2 ff 25 c5 54 00 00 bnd jmpq *0x54c5(%rip) # 8f10 <json_generator_new> 3a4b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a50 <ldm_error_quark@plt>: 3a50: f3 0f 1e fa endbr64 3a54: f2 ff 25 bd 54 00 00 bnd jmpq *0x54bd(%rip) # 8f18 <ldm_error_quark> 3a5b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a60 <ldm_disk_get_name@plt>: 3a60: f3 0f 1e fa endbr64 3a64: f2 ff 25 b5 54 00 00 bnd jmpq *0x54b5(%rip) # 8f20 <ldm_disk_get_name> 3a6b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a70 <json_builder_new@plt>: 3a70: f3 0f 1e fa endbr64 3a74: f2 ff 25 ad 54 00 00 bnd jmpq *0x54ad(%rip) # 8f28 <json_builder_new> 3a7b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a80 <using_history@plt>: 3a80: f3 0f 1e fa endbr64 3a84: f2 ff 25 a5 54 00 00 bnd jmpq *0x54a5(%rip) # 8f30 <using_history> 3a8b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003a90 <g_option_context_new@plt>: 3a90: f3 0f 1e fa endbr64 3a94: f2 ff 25 9d 54 00 00 bnd jmpq *0x549d(%rip) # 8f38 <g_option_context_new> 3a9b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003aa0 <closedir@plt>: 3aa0: f3 0f 1e fa endbr64 3aa4: f2 ff 25 95 54 00 00 bnd jmpq *0x5495(%rip) # 8f40 <closedir@GLIBC_2.2.5> 3aab: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003ab0 <__snprintf_chk@plt>: 3ab0: f3 0f 1e fa endbr64 3ab4: f2 ff 25 8d 54 00 00 bnd jmpq *0x548d(%rip) # 8f48 <__snprintf_chk@GLIBC_2.3.4> 3abb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003ac0 <g_error_free@plt>: 3ac0: f3 0f 1e fa endbr64 3ac4: f2 ff 25 85 54 00 00 bnd jmpq *0x5485(%rip) # 8f50 <g_error_free> 3acb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003ad0 <g_strfreev@plt>: 3ad0: f3 0f 1e fa endbr64 3ad4: f2 ff 25 7d 54 00 00 bnd jmpq *0x547d(%rip) # 8f58 <g_strfreev> 3adb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003ae0 <ldm_disk_group_get_guid@plt>: 3ae0: f3 0f 1e fa endbr64 3ae4: f2 ff 25 75 54 00 00 bnd jmpq *0x5475(%rip) # 8f60 <ldm_disk_group_get_guid> 3aeb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003af0 <ldm_disk_get_guid@plt>: 3af0: f3 0f 1e fa endbr64 3af4: f2 ff 25 6d 54 00 00 bnd jmpq *0x546d(%rip) # 8f68 <ldm_disk_get_guid> 3afb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b00 <wordfree@plt>: 3b00: f3 0f 1e fa endbr64 3b04: f2 ff 25 65 54 00 00 bnd jmpq *0x5465(%rip) # 8f70 <wordfree@GLIBC_2.2.5> 3b0b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b10 <ldm_get_disk_groups@plt>: 3b10: f3 0f 1e fa endbr64 3b14: f2 ff 25 5d 54 00 00 bnd jmpq *0x545d(%rip) # 8f78 <ldm_get_disk_groups> 3b1b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b20 <ldm_disk_get_data_size@plt>: 3b20: f3 0f 1e fa endbr64 3b24: f2 ff 25 55 54 00 00 bnd jmpq *0x5455(%rip) # 8f80 <ldm_disk_get_data_size> 3b2b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b30 <add_history@plt>: 3b30: f3 0f 1e fa endbr64 3b34: f2 ff 25 4d 54 00 00 bnd jmpq *0x544d(%rip) # 8f88 <add_history> 3b3b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b40 <json_builder_begin_array@plt>: 3b40: f3 0f 1e fa endbr64 3b44: f2 ff 25 45 54 00 00 bnd jmpq *0x5445(%rip) # 8f90 <json_builder_begin_array> 3b4b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b50 <g_array_append_vals@plt>: 3b50: f3 0f 1e fa endbr64 3b54: f2 ff 25 3d 54 00 00 bnd jmpq *0x543d(%rip) # 8f98 <g_array_append_vals> 3b5b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b60 <g_log@plt>: 3b60: f3 0f 1e fa endbr64 3b64: f2 ff 25 35 54 00 00 bnd jmpq *0x5435(%rip) # 8fa0 <g_log> 3b6b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b70 <ldm_volume_get_voltype@plt>: 3b70: f3 0f 1e fa endbr64 3b74: f2 ff 25 2d 54 00 00 bnd jmpq *0x542d(%rip) # 8fa8 <ldm_volume_get_voltype> 3b7b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b80 <open@plt>: 3b80: f3 0f 1e fa endbr64 3b84: f2 ff 25 25 54 00 00 bnd jmpq *0x5425(%rip) # 8fb0 <open@GLIBC_2.2.5> 3b8b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000003b90 <ldm_partition_get_name@plt>: 3b90: f3 0f 1e fa endbr64 3b94: f2 ff 25 1d 54 00 00 bnd jmpq *0x541d(%rip) # 8fb8 <ldm_partition_get_name> 3b9b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .text: 0000000000003ba0 <.text>: 3ba0: f3 0f 1e fa endbr64 3ba4: 41 57 push %r15 3ba6: 31 c9 xor %ecx,%ecx 3ba8: 48 8d 15 31 03 00 00 lea 0x331(%rip),%rdx # 3ee0 <ldm_partition_get_name@plt+0x350> 3baf: 41 56 push %r14 3bb1: 41 55 push %r13 3bb3: 41 54 push %r12 3bb5: 55 push %rbp 3bb6: 48 83 ec 20 sub $0x20,%rsp 3bba: 89 7c 24 0c mov %edi,0xc(%rsp) 3bbe: 31 ff xor %edi,%edi 3bc0: 4c 8d 6c 24 10 lea 0x10(%rsp),%r13 3bc5: 48 89 34 24 mov %rsi,(%rsp) 3bc9: be 70 00 00 00 mov $0x70,%esi 3bce: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 3bd7: 48 89 44 24 18 mov %rax,0x18(%rsp) 3bdc: 31 c0 xor %eax,%eax 3bde: 48 c7 44 24 10 00 00 00 00 movq $0x0,0x10(%rsp) 3be7: e8 34 fe ff ff callq 3a20 <g_log_set_handler@plt> 3bec: 48 8d 3d 22 2a 00 00 lea 0x2a22(%rip),%rdi # 6615 <_IO_stdin_used@@Base+0x615> 3bf3: e8 98 fe ff ff callq 3a90 <g_option_context_new@plt> 3bf8: 48 8d 35 e9 26 00 00 lea 0x26e9(%rip),%rsi # 62e8 <_IO_stdin_used@@Base+0x2e8> 3bff: 48 89 c5 mov %rax,%rbp 3c02: 48 89 c7 mov %rax,%rdi 3c05: e8 46 fc ff ff callq 3850 <g_option_context_set_summary@plt> 3c0a: 31 d2 xor %edx,%edx 3c0c: 48 8d 35 ad 4d 00 00 lea 0x4dad(%rip),%rsi # 89c0 <_IO_stdin_used@@Base+0x29c0> 3c13: 48 89 ef mov %rbp,%rdi 3c16: e8 95 fb ff ff callq 37b0 <g_option_context_add_main_entries@plt> 3c1b: 48 89 e2 mov %rsp,%rdx 3c1e: 48 8d 74 24 0c lea 0xc(%rsp),%rsi 3c23: 4c 89 e9 mov %r13,%rcx 3c26: 48 89 ef mov %rbp,%rdi 3c29: e8 92 fc ff ff callq 38c0 <g_option_context_parse@plt> 3c2e: 85 c0 test %eax,%eax 3c30: 0f 84 f3 00 00 00 je 3d29 <ldm_partition_get_name@plt+0x199> 3c36: 48 89 ef mov %rbp,%rdi 3c39: e8 52 fa ff ff callq 3690 <g_option_context_free@plt> 3c3e: 4c 89 ef mov %r13,%rdi 3c41: 31 c0 xor %eax,%eax 3c43: e8 48 fb ff ff callq 3790 <ldm_new@plt> 3c48: 31 f6 xor %esi,%esi 3c4a: bf 01 00 00 00 mov $0x1,%edi 3c4f: 49 89 c6 mov %rax,%r14 3c52: e8 c9 fc ff ff callq 3920 <g_unix_output_stream_new@plt> 3c57: 49 89 c4 mov %rax,%r12 3c5a: e8 e1 fd ff ff callq 3a40 <json_generator_new@plt> 3c5f: be 01 00 00 00 mov $0x1,%esi 3c64: 48 89 c5 mov %rax,%rbp 3c67: 48 89 c7 mov %rax,%rdi 3c6a: e8 51 fd ff ff callq 39c0 <json_generator_set_pretty@plt> 3c6f: be 02 00 00 00 mov $0x2,%esi 3c74: 48 89 ef mov %rbp,%rdi 3c77: e8 84 fc ff ff callq 3900 <json_generator_set_indent@plt> 3c7c: 8b 44 24 0c mov 0xc(%rsp),%eax 3c80: 83 f8 01 cmp $0x1,%eax 3c83: 0f 8e 80 00 00 00 jle 3d09 <ldm_partition_get_name@plt+0x179> 3c89: 48 8b 14 24 mov (%rsp),%rdx 3c8d: 44 8d 40 ff lea -0x1(%rax),%r8d 3c91: 4c 89 e1 mov %r12,%rcx 3c94: 4c 89 f7 mov %r14,%rdi 3c97: 48 8b 35 b2 53 00 00 mov 0x53b2(%rip),%rsi # 9050 <stderr@@GLIBC_2.2.5+0x10> 3c9e: 45 31 ff xor %r15d,%r15d 3ca1: 4c 8d 4a 08 lea 0x8(%rdx),%r9 3ca5: 48 89 ea mov %rbp,%rdx 3ca8: e8 03 19 00 00 callq 55b0 <ldm_partition_get_name@plt+0x1a20> 3cad: 85 c0 test %eax,%eax 3caf: 41 0f 94 c7 sete %r15b 3cb3: 48 89 ef mov %rbp,%rdi 3cb6: e8 15 fa ff ff callq 36d0 <g_object_unref@plt> 3cbb: 48 8b 3d 8e 53 00 00 mov 0x538e(%rip),%rdi # 9050 <stderr@@GLIBC_2.2.5+0x10> 3cc2: e8 09 fe ff ff callq 3ad0 <g_strfreev@plt> 3cc7: 4c 89 f7 mov %r14,%rdi 3cca: e8 01 fa ff ff callq 36d0 <g_object_unref@plt> 3ccf: 31 f6 xor %esi,%esi 3cd1: 4c 89 ea mov %r13,%rdx 3cd4: 4c 89 e7 mov %r12,%rdi 3cd7: e8 c4 f9 ff ff callq 36a0 <g_output_stream_close@plt> 3cdc: 85 c0 test %eax,%eax 3cde: 74 6f je 3d4f <ldm_partition_get_name@plt+0x1bf> 3ce0: 4c 89 e7 mov %r12,%rdi 3ce3: e8 e8 f9 ff ff callq 36d0 <g_object_unref@plt> 3ce8: 48 8b 44 24 18 mov 0x18(%rsp),%rax 3ced: 64 48 33 04 25 28 00 00 00 xor %fs:0x28,%rax 3cf6: 75 7a jne 3d72 <ldm_partition_get_name@plt+0x1e2> 3cf8: 48 83 c4 20 add $0x20,%rsp 3cfc: 44 89 f8 mov %r15d,%eax 3cff: 5d pop %rbp 3d00: 41 5c pop %r12 3d02: 41 5d pop %r13 3d04: 41 5e pop %r14 3d06: 41 5f pop %r15 3d08: c3 retq 3d09: 48 8b 35 40 53 00 00 mov 0x5340(%rip),%rsi # 9050 <stderr@@GLIBC_2.2.5+0x10> 3d10: 4c 89 e1 mov %r12,%rcx 3d13: 48 89 ea mov %rbp,%rdx 3d16: 4c 89 f7 mov %r14,%rdi 3d19: 45 31 ff xor %r15d,%r15d 3d1c: e8 af 13 00 00 callq 50d0 <ldm_partition_get_name@plt+0x1540> 3d21: 85 c0 test %eax,%eax 3d23: 41 0f 94 c7 sete %r15b 3d27: eb 8a jmp 3cb3 <ldm_partition_get_name@plt+0x123> 3d29: 48 8b 44 24 10 mov 0x10(%rsp),%rax 3d2e: 48 8d 15 f6 28 00 00 lea 0x28f6(%rip),%rdx # 662b <_IO_stdin_used@@Base+0x62b> 3d35: be 10 00 00 00 mov $0x10,%esi 3d3a: 31 ff xor %edi,%edi 3d3c: 41 bf 01 00 00 00 mov $0x1,%r15d 3d42: 48 8b 48 08 mov 0x8(%rax),%rcx 3d46: 31 c0 xor %eax,%eax 3d48: e8 13 fe ff ff callq 3b60 <g_log@plt> 3d4d: eb 99 jmp 3ce8 <ldm_partition_get_name@plt+0x158> 3d4f: 48 8b 44 24 10 mov 0x10(%rsp),%rax 3d54: 48 8d 15 b5 26 00 00 lea 0x26b5(%rip),%rdx # 6410 <_IO_stdin_used@@Base+0x410> 3d5b: be 10 00 00 00 mov $0x10,%esi 3d60: 31 ff xor %edi,%edi 3d62: 48 8b 48 08 mov 0x8(%rax),%rcx 3d66: 31 c0 xor %eax,%eax 3d68: e8 f3 fd ff ff callq 3b60 <g_log@plt> 3d6d: e9 6e ff ff ff jmpq 3ce0 <ldm_partition_get_name@plt+0x150> 3d72: e8 59 fc ff ff callq 39d0 <__stack_chk_fail@plt> 3d77: 66 0f 1f 84 00 00 00 00 00 nopw 0x0(%rax,%rax,1) 3d80: f3 0f 1e fa endbr64 3d84: 31 ed xor %ebp,%ebp 3d86: 49 89 d1 mov %rdx,%r9 3d89: 5e pop %rsi 3d8a: 48 89 e2 mov %rsp,%rdx 3d8d: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 3d91: 50 push %rax 3d92: 54 push %rsp 3d93: 4c 8d 05 46 1a 00 00 lea 0x1a46(%rip),%r8 # 57e0 <ldm_partition_get_name@plt+0x1c50> 3d9a: 48 8d 0d cf 19 00 00 lea 0x19cf(%rip),%rcx # 5770 <ldm_partition_get_name@plt+0x1be0> 3da1: 48 8d 3d f8 fd ff ff lea -0x208(%rip),%rdi # 3ba0 <ldm_partition_get_name@plt+0x10> 3da8: ff 15 22 52 00 00 callq *0x5222(%rip) # 8fd0 <__libc_start_main@GLIBC_2.2.5> 3dae: f4 hlt 3daf: 90 nop 3db0: 48 8d 3d 59 52 00 00 lea 0x5259(%rip),%rdi # 9010 <__bss_start@@Base> 3db7: 48 8d 05 52 52 00 00 lea 0x5252(%rip),%rax # 9010 <__bss_start@@Base> 3dbe: 48 39 f8 cmp %rdi,%rax 3dc1: 74 15 je 3dd8 <ldm_partition_get_name@plt+0x248> 3dc3: 48 8b 05 0e 52 00 00 mov 0x520e(%rip),%rax # 8fd8 <_ITM_deregisterTMCloneTable> 3dca: 48 85 c0 test %rax,%rax 3dcd: 74 09 je 3dd8 <ldm_partition_get_name@plt+0x248> 3dcf: ff e0 jmpq *%rax 3dd1: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3dd8: c3 retq 3dd9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3de0: 48 8d 3d 29 52 00 00 lea 0x5229(%rip),%rdi # 9010 <__bss_start@@Base> 3de7: 48 8d 35 22 52 00 00 lea 0x5222(%rip),%rsi # 9010 <__bss_start@@Base> 3dee: 48 29 fe sub %rdi,%rsi 3df1: 48 89 f0 mov %rsi,%rax 3df4: 48 c1 ee 3f shr $0x3f,%rsi 3df8: 48 c1 f8 03 sar $0x3,%rax 3dfc: 48 01 c6 add %rax,%rsi 3dff: 48 d1 fe sar %rsi 3e02: 74 14 je 3e18 <ldm_partition_get_name@plt+0x288> 3e04: 48 8b 05 d5 51 00 00 mov 0x51d5(%rip),%rax # 8fe0 <_ITM_registerTMCloneTable> 3e0b: 48 85 c0 test %rax,%rax 3e0e: 74 08 je 3e18 <ldm_partition_get_name@plt+0x288> 3e10: ff e0 jmpq *%rax 3e12: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 3e18: c3 retq 3e19: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3e20: f3 0f 1e fa endbr64 3e24: 80 3d 1d 52 00 00 00 cmpb $0x0,0x521d(%rip) # 9048 <stderr@@GLIBC_2.2.5+0x8> 3e2b: 75 2b jne 3e58 <ldm_partition_get_name@plt+0x2c8> 3e2d: 55 push %rbp 3e2e: 48 83 3d b2 51 00 00 00 cmpq $0x0,0x51b2(%rip) # 8fe8 <__cxa_finalize@GLIBC_2.2.5> 3e36: 48 89 e5 mov %rsp,%rbp 3e39: 74 0c je 3e47 <ldm_partition_get_name@plt+0x2b7> 3e3b: 48 8b 3d c6 51 00 00 mov 0x51c6(%rip),%rdi # 9008 <_IO_stdin_used@@Base+0x3008> 3e42: e8 99 f7 ff ff callq 35e0 <__cxa_finalize@plt> 3e47: e8 64 ff ff ff callq 3db0 <ldm_partition_get_name@plt+0x220> 3e4c: c6 05 f5 51 00 00 01 movb $0x1,0x51f5(%rip) # 9048 <stderr@@GLIBC_2.2.5+0x8> 3e53: 5d pop %rbp 3e54: c3 retq 3e55: 0f 1f 00 nopl (%rax) 3e58: c3 retq 3e59: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3e60: f3 0f 1e fa endbr64 3e64: e9 77 ff ff ff jmpq 3de0 <ldm_partition_get_name@plt+0x250> 3e69: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3e70: f3 0f 1e fa endbr64 3e74: 48 83 ec 08 sub $0x8,%rsp 3e78: 31 c0 xor %eax,%eax 3e7a: 48 8d 15 87 21 00 00 lea 0x2187(%rip),%rdx # 6008 <_IO_stdin_used@@Base+0x8> 3e81: 31 ff xor %edi,%edi 3e83: be 10 00 00 00 mov $0x10,%esi 3e88: e8 d3 fc ff ff callq 3b60 <g_log@plt> 3e8d: 31 c0 xor %eax,%eax 3e8f: 48 83 c4 08 add $0x8,%rsp 3e93: c3 retq 3e94: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 3e9f: 90 nop 3ea0: f3 0f 1e fa endbr64 3ea4: 48 83 ec 08 sub $0x8,%rsp 3ea8: 31 c0 xor %eax,%eax 3eaa: 48 8d 15 8f 21 00 00 lea 0x218f(%rip),%rdx # 6040 <_IO_stdin_used@@Base+0x40> 3eb1: 31 ff xor %edi,%edi 3eb3: be 10 00 00 00 mov $0x10,%esi 3eb8: e8 a3 fc ff ff callq 3b60 <g_log@plt> 3ebd: 31 c0 xor %eax,%eax 3ebf: 48 83 c4 08 add $0x8,%rsp 3ec3: c3 retq 3ec4: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 3ecf: 90 nop 3ed0: f3 0f 1e fa endbr64 3ed4: 48 8b 3f mov (%rdi),%rdi 3ed7: e9 34 f7 ff ff jmpq 3610 <g_free@plt> 3edc: 0f 1f 40 00 nopl 0x0(%rax) 3ee0: f3 0f 1e fa endbr64 3ee4: 40 f6 c6 80 test $0x80,%sil 3ee8: 75 16 jne 3f00 <ldm_partition_get_name@plt+0x370> 3eea: 83 e6 60 and $0x60,%esi 3eed: 74 19 je 3f08 <ldm_partition_get_name@plt+0x378> objdump: Warning: source file /usr/include/x86_64-linux-gnu/bits/stdio2.h is more recent than object file } __fortify_function int printf (const char *__restrict __fmt, ...) { return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); 3eef: 48 89 d7 mov %rdx,%rdi 3ef2: e9 c9 f7 ff ff jmpq 36c0 <puts@plt> 3ef7: 66 0f 1f 84 00 00 00 00 00 nopw 0x0(%rax,%rax,1) 3f00: c3 retq 3f01: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, 3f08: 48 8b 3d 31 51 00 00 mov 0x5131(%rip),%rdi # 9040 <stderr@@GLIBC_2.2.5> 3f0f: 48 89 d1 mov %rdx,%rcx 3f12: be 01 00 00 00 mov $0x1,%esi 3f17: 31 c0 xor %eax,%eax 3f19: 48 8d 15 6f 26 00 00 lea 0x266f(%rip),%rdx # 658f <_IO_stdin_used@@Base+0x58f> 3f20: e9 8b f7 ff ff jmpq 36b0 <__fprintf_chk@plt> 3f25: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 3f30: f3 0f 1e fa endbr64 3f34: 48 83 ec 08 sub $0x8,%rsp 3f38: 31 c0 xor %eax,%eax 3f3a: 48 8d 15 37 21 00 00 lea 0x2137(%rip),%rdx # 6078 <_IO_stdin_used@@Base+0x78> 3f41: 31 ff xor %edi,%edi 3f43: be 10 00 00 00 mov $0x10,%esi 3f48: e8 13 fc ff ff callq 3b60 <g_log@plt> 3f4d: 31 c0 xor %eax,%eax 3f4f: 48 83 c4 08 add $0x8,%rsp 3f53: c3 retq 3f54: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 3f5f: 90 nop 3f60: f3 0f 1e fa endbr64 3f64: 41 57 push %r15 3f66: 41 56 push %r14 3f68: 4d 89 ce mov %r9,%r14 3f6b: 41 55 push %r13 3f6d: 49 89 fd mov %rdi,%r13 3f70: 48 8d 3d df 24 00 00 lea 0x24df(%rip),%rdi # 6456 <_IO_stdin_used@@Base+0x456> 3f77: 41 54 push %r12 3f79: 49 89 cc mov %rcx,%r12 3f7c: 55 push %rbp 3f7d: 48 8d 2d 9c 4a 00 00 lea 0x4a9c(%rip),%rbp # 8a20 <_IO_stdin_used@@Base+0x2a20> 3f84: 53 push %rbx 3f85: 48 89 d3 mov %rdx,%rbx 3f88: 48 83 ec 28 sub $0x28,%rsp 3f8c: 89 74 24 04 mov %esi,0x4(%rsp) 3f90: 4c 8b 7c 24 60 mov 0x60(%rsp),%r15 3f95: 4c 89 44 24 08 mov %r8,0x8(%rsp) 3f9a: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 3fa3: 48 89 44 24 18 mov %rax,0x18(%rsp) 3fa8: 31 c0 xor %eax,%eax 3faa: eb 11 jmp 3fbd <ldm_partition_get_name@plt+0x42d> 3fac: 0f 1f 40 00 nopl 0x0(%rax) 3fb0: 48 8b 7d 10 mov 0x10(%rbp),%rdi 3fb4: 48 83 c5 10 add $0x10,%rbp 3fb8: 48 85 ff test %rdi,%rdi 3fbb: 74 63 je 4020 <ldm_partition_get_name@plt+0x490> 3fbd: 48 8b 33 mov (%rbx),%rsi 3fc0: e8 1b f7 ff ff callq 36e0 <g_strcmp0@plt> 3fc5: 85 c0 test %eax,%eax 3fc7: 75 e7 jne 3fb0 <ldm_partition_get_name@plt+0x420> 3fc9: 8b 74 24 04 mov 0x4(%rsp),%esi 3fcd: 48 8d 53 08 lea 0x8(%rbx),%rdx 3fd1: 4c 89 f9 mov %r15,%rcx 3fd4: 4c 89 ef mov %r13,%rdi 3fd7: 83 ee 01 sub $0x1,%esi 3fda: ff 55 08 callq *0x8(%rbp) 3fdd: 85 c0 test %eax,%eax 3fdf: 75 47 jne 4028 <ldm_partition_get_name@plt+0x498> 3fe1: b8 01 00 00 00 mov $0x1,%eax 3fe6: 4d 85 e4 test %r12,%r12 3fe9: 74 08 je 3ff3 <ldm_partition_get_name@plt+0x463> 3feb: 41 c7 04 24 00 00 00 00 movl $0x0,(%r12) 3ff3: 48 8b 4c 24 18 mov 0x18(%rsp),%rcx 3ff8: 64 48 33 0c 25 28 00 00 00 xor %fs:0x28,%rcx 4001: 0f 85 b8 00 00 00 jne 40bf <ldm_partition_get_name@plt+0x52f> 4007: 48 83 c4 28 add $0x28,%rsp 400b: 5b pop %rbx 400c: 5d pop %rbp 400d: 41 5c pop %r12 400f: 41 5d pop %r13 4011: 41 5e pop %r14 4013: 41 5f pop %r15 4015: c3 retq 4016: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 4020: 31 c0 xor %eax,%eax 4022: eb cf jmp 3ff3 <ldm_partition_get_name@plt+0x463> 4024: 0f 1f 40 00 nopl 0x0(%rax) 4028: 48 c7 44 24 10 00 00 00 00 movq $0x0,0x10(%rsp) 4031: 4c 89 ff mov %r15,%rdi 4034: e8 07 f9 ff ff callq 3940 <json_builder_get_root@plt> 4039: 4c 89 f7 mov %r14,%rdi 403c: 48 89 c6 mov %rax,%rsi 403f: e8 5c f7 ff ff callq 37a0 <json_generator_set_root@plt> 4044: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 4049: 31 d2 xor %edx,%edx 404b: 4c 89 f7 mov %r14,%rdi 404e: 48 8d 4c 24 10 lea 0x10(%rsp),%rcx 4053: e8 a8 f9 ff ff callq 3a00 <json_generator_to_stream@plt> 4058: 85 c0 test %eax,%eax 405a: 75 42 jne 409e <ldm_partition_get_name@plt+0x50e> 405c: 48 8b 44 24 10 mov 0x10(%rsp),%rax 4061: 48 8d 0d f3 23 00 00 lea 0x23f3(%rip),%rcx # 645b <_IO_stdin_used@@Base+0x45b> 4068: 48 85 c0 test %rax,%rax 406b: 74 04 je 4071 <ldm_partition_get_name@plt+0x4e1> 406d: 48 8b 48 08 mov 0x8(%rax),%rcx 4071: 31 ff xor %edi,%edi 4073: 48 8d 15 ed 23 00 00 lea 0x23ed(%rip),%rdx # 6467 <_IO_stdin_used@@Base+0x467> 407a: be 10 00 00 00 mov $0x10,%esi 407f: 31 c0 xor %eax,%eax 4081: e8 da fa ff ff callq 3b60 <g_log@plt> 4086: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 408b: 48 85 ff test %rdi,%rdi 408e: 74 0e je 409e <ldm_partition_get_name@plt+0x50e> 4090: e8 2b fa ff ff callq 3ac0 <g_error_free@plt> 4095: 48 c7 44 24 10 00 00 00 00 movq $0x0,0x10(%rsp) return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); 409e: bf 0a 00 00 00 mov $0xa,%edi 40a3: e8 78 f6 ff ff callq 3720 <putchar@plt> 40a8: 4d 85 e4 test %r12,%r12 40ab: 74 08 je 40b5 <ldm_partition_get_name@plt+0x525> 40ad: 41 c7 04 24 01 00 00 00 movl $0x1,(%r12) 40b5: b8 01 00 00 00 mov $0x1,%eax 40ba: e9 34 ff ff ff jmpq 3ff3 <ldm_partition_get_name@plt+0x463> 40bf: e8 0c f9 ff ff callq 39d0 <__stack_chk_fail@plt> 40c4: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 40cf: 90 nop 40d0: f3 0f 1e fa endbr64 40d4: 41 57 push %r15 40d6: 66 0f ef c0 pxor %xmm0,%xmm0 40da: 41 56 push %r14 40dc: 41 55 push %r13 40de: 41 54 push %r12 40e0: 55 push %rbp 40e1: 48 89 fd mov %rdi,%rbp 40e4: 53 push %rbx 40e5: 48 83 ec 58 sub $0x58,%rsp 40e9: 89 74 24 18 mov %esi,0x18(%rsp) 40ed: 4c 89 44 24 10 mov %r8,0x10(%rsp) 40f2: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 40fb: 48 89 44 24 48 mov %rax,0x48(%rsp) 4100: 31 c0 xor %eax,%eax 4102: 0f 29 44 24 30 movaps %xmm0,0x30(%rsp) 4107: 48 c7 44 24 40 00 00 00 00 movq $0x0,0x40(%rsp) 4110: 85 d2 test %edx,%edx 4112: 0f 8e d0 00 00 00 jle 41e8 <ldm_partition_get_name@plt+0x658> 4118: 8d 42 ff lea -0x1(%rdx),%eax 411b: 48 89 cb mov %rcx,%rbx 411e: 4c 8d 74 24 30 lea 0x30(%rsp),%r14 4123: 48 8d 44 c1 08 lea 0x8(%rcx,%rax,8),%rax 4128: 48 89 44 24 08 mov %rax,0x8(%rsp) 412d: eb 10 jmp 413f <ldm_partition_get_name@plt+0x5af> 412f: 90 nop 4130: 48 83 c3 08 add $0x8,%rbx 4134: 48 39 5c 24 08 cmp %rbx,0x8(%rsp) 4139: 0f 84 b1 00 00 00 je 41f0 <ldm_partition_get_name@plt+0x660> 413f: 48 8b 3b mov (%rbx),%rdi 4142: ba 08 00 00 00 mov $0x8,%edx 4147: 4c 89 f6 mov %r14,%rsi 414a: e8 31 f7 ff ff callq 3880 <wordexp@plt> 414f: 85 c0 test %eax,%eax 4151: 75 dd jne 4130 <ldm_partition_get_name@plt+0x5a0> 4153: 48 83 7c 24 30 00 cmpq $0x0,0x30(%rsp) 4159: 74 d5 je 4130 <ldm_partition_get_name@plt+0x5a0> 415b: 45 31 ed xor %r13d,%r13d 415e: 4c 8d 64 24 28 lea 0x28(%rsp),%r12 4163: eb 13 jmp 4178 <ldm_partition_get_name@plt+0x5e8> 4165: 0f 1f 00 nopl (%rax) 4168: e8 53 f9 ff ff callq 3ac0 <g_error_free@plt> 416d: 49 83 c5 01 add $0x1,%r13 4171: 4c 39 6c 24 30 cmp %r13,0x30(%rsp) 4176: 76 b8 jbe 4130 <ldm_partition_get_name@plt+0x5a0> 4178: 48 8b 44 24 38 mov 0x38(%rsp),%rax 417d: 4c 89 e2 mov %r12,%rdx 4180: 48 89 ef mov %rbp,%rdi 4183: 4e 8b 3c e8 mov (%rax,%r13,8),%r15 4187: 48 c7 44 24 28 00 00 00 00 movq $0x0,0x28(%rsp) 4190: 4c 89 fe mov %r15,%rsi 4193: e8 88 f4 ff ff callq 3620 <ldm_add@plt> 4198: 85 c0 test %eax,%eax 419a: 75 d1 jne 416d <ldm_partition_get_name@plt+0x5dd> 419c: 8b 54 24 18 mov 0x18(%rsp),%edx 41a0: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 41a5: 85 d2 test %edx,%edx 41a7: 75 bf jne 4168 <ldm_partition_get_name@plt+0x5d8> 41a9: 8b 07 mov (%rdi),%eax 41ab: 89 44 24 1c mov %eax,0x1c(%rsp) 41af: e8 9c f8 ff ff callq 3a50 <ldm_error_quark@plt> 41b4: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 41b9: 39 44 24 1c cmp %eax,0x1c(%rsp) 41bd: 75 06 jne 41c5 <ldm_partition_get_name@plt+0x635> 41bf: 83 7f 04 02 cmpl $0x2,0x4(%rdi) 41c3: 74 a3 je 4168 <ldm_partition_get_name@plt+0x5d8> 41c5: 4c 8b 47 08 mov 0x8(%rdi),%r8 41c9: 4c 89 f9 mov %r15,%rcx 41cc: 31 ff xor %edi,%edi 41ce: 48 8d 15 b0 22 00 00 lea 0x22b0(%rip),%rdx # 6485 <_IO_stdin_used@@Base+0x485> 41d5: be 10 00 00 00 mov $0x10,%esi 41da: 31 c0 xor %eax,%eax 41dc: e8 7f f9 ff ff callq 3b60 <g_log@plt> 41e1: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 41e6: eb 80 jmp 4168 <ldm_partition_get_name@plt+0x5d8> 41e8: 4c 8d 74 24 30 lea 0x30(%rsp),%r14 41ed: 0f 1f 00 nopl (%rax) 41f0: 4c 89 f7 mov %r14,%rdi 41f3: e8 08 f9 ff ff callq 3b00 <wordfree@plt> 41f8: 48 83 7c 24 10 00 cmpq $0x0,0x10(%rsp) 41fe: 74 63 je 4263 <ldm_partition_get_name@plt+0x6d3> 4200: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 4205: 31 db xor %ebx,%ebx 4207: e8 34 f9 ff ff callq 3b40 <json_builder_begin_array@plt> 420c: 48 89 ef mov %rbp,%rdi 420f: e8 fc f8 ff ff callq 3b10 <ldm_get_disk_groups@plt> 4214: 49 89 c4 mov %rax,%r12 4217: 8b 40 08 mov 0x8(%rax),%eax 421a: 85 c0 test %eax,%eax 421c: 74 33 je 4251 <ldm_partition_get_name@plt+0x6c1> 421e: 66 90 xchg %ax,%ax 4220: 49 8b 04 24 mov (%r12),%rax 4224: 89 da mov %ebx,%edx 4226: 83 c3 01 add $0x1,%ebx 4229: 48 8b 3c d0 mov (%rax,%rdx,8),%rdi 422d: e8 ae f8 ff ff callq 3ae0 <ldm_disk_group_get_guid@plt> 4232: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 4237: 48 89 c5 mov %rax,%rbp 423a: 48 89 c6 mov %rax,%rsi 423d: e8 6e f6 ff ff callq 38b0 <json_builder_add_string_value@plt> 4242: 48 89 ef mov %rbp,%rdi 4245: e8 c6 f3 ff ff callq 3610 <g_free@plt> 424a: 41 39 5c 24 08 cmp %ebx,0x8(%r12) 424f: 77 cf ja 4220 <ldm_partition_get_name@plt+0x690> 4251: 4c 89 e7 mov %r12,%rdi 4254: e8 07 f5 ff ff callq 3760 <g_array_unref@plt> 4259: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 425e: e8 dd f5 ff ff callq 3840 <json_builder_end_array@plt> 4263: 48 8b 44 24 48 mov 0x48(%rsp),%rax 4268: 64 48 33 04 25 28 00 00 00 xor %fs:0x28,%rax 4271: 75 14 jne 4287 <ldm_partition_get_name@plt+0x6f7> 4273: 48 83 c4 58 add $0x58,%rsp 4277: b8 01 00 00 00 mov $0x1,%eax 427c: 5b pop %rbx 427d: 5d pop %rbp 427e: 41 5c pop %r12 4280: 41 5d pop %r13 4282: 41 5e pop %r14 4284: 41 5f pop %r15 4286: c3 retq 4287: e8 44 f7 ff ff callq 39d0 <__stack_chk_fail@plt> 428c: 0f 1f 40 00 nopl 0x0(%rax) 4290: f3 0f 1e fa endbr64 4294: 49 89 c8 mov %rcx,%r8 4297: 48 89 d1 mov %rdx,%rcx 429a: 89 f2 mov %esi,%edx 429c: 31 f6 xor %esi,%esi 429e: e9 2d fe ff ff jmpq 40d0 <ldm_partition_get_name@plt+0x540> 42a3: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 42ae: 66 90 xchg %ax,%ax 42b0: f3 0f 1e fa endbr64 42b4: 41 56 push %r14 42b6: 41 55 push %r13 42b8: 41 54 push %r12 42ba: 49 89 fc mov %rdi,%r12 42bd: 55 push %rbp 42be: 48 89 f5 mov %rsi,%rbp 42c1: 48 89 d6 mov %rdx,%rsi 42c4: 53 push %rbx 42c5: 48 83 ec 10 sub $0x10,%rsp 42c9: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 42d2: 48 89 44 24 08 mov %rax,0x8(%rsp) 42d7: 31 c0 xor %eax,%eax 42d9: e8 12 f7 ff ff callq 39f0 <json_builder_set_member_name@plt> 42de: 4c 89 e7 mov %r12,%rdi 42e1: e8 5a f8 ff ff callq 3b40 <json_builder_begin_array@plt> 42e6: 8b 45 08 mov 0x8(%rbp),%eax 42e9: 85 c0 test %eax,%eax 42eb: 74 49 je 4336 <ldm_partition_get_name@plt+0x7a6> 42ed: 31 db xor %ebx,%ebx 42ef: 49 89 e6 mov %rsp,%r14 42f2: 4c 8d 2d a2 21 00 00 lea 0x21a2(%rip),%r13 # 649b <_IO_stdin_used@@Base+0x49b> 42f9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 4300: 48 8b 45 00 mov 0x0(%rbp),%rax 4304: 89 da mov %ebx,%edx 4306: 31 c9 xor %ecx,%ecx 4308: 4c 89 ee mov %r13,%rsi 430b: 83 c3 01 add $0x1,%ebx 430e: 48 8b 3c d0 mov (%rax,%rdx,8),%rdi 4312: 4c 89 f2 mov %r14,%rdx 4315: 31 c0 xor %eax,%eax 4317: e8 b4 f5 ff ff callq 38d0 <g_object_get@plt> 431c: 48 8b 34 24 mov (%rsp),%rsi 4320: 4c 89 e7 mov %r12,%rdi 4323: e8 88 f5 ff ff callq 38b0 <json_builder_add_string_value@plt> 4328: 48 8b 3c 24 mov (%rsp),%rdi 432c: e8 df f2 ff ff callq 3610 <g_free@plt> 4331: 39 5d 08 cmp %ebx,0x8(%rbp) 4334: 77 ca ja 4300 <ldm_partition_get_name@plt+0x770> 4336: 4c 89 e7 mov %r12,%rdi 4339: e8 02 f5 ff ff callq 3840 <json_builder_end_array@plt> 433e: 48 8b 44 24 08 mov 0x8(%rsp),%rax 4343: 64 48 33 04 25 28 00 00 00 xor %fs:0x28,%rax 434c: 75 0d jne 435b <ldm_partition_get_name@plt+0x7cb> 434e: 48 83 c4 10 add $0x10,%rsp 4352: 5b pop %rbx 4353: 5d pop %rbp 4354: 41 5c pop %r12 4356: 41 5d pop %r13 4358: 41 5e pop %r14 435a: c3 retq 435b: e8 70 f6 ff ff callq 39d0 <__stack_chk_fail@plt> 4360: f3 0f 1e fa endbr64 4364: 41 56 push %r14 4366: 41 55 push %r13 4368: 49 89 f5 mov %rsi,%r13 436b: 41 54 push %r12 436d: 55 push %rbp 436e: 53 push %rbx 436f: e8 9c f7 ff ff callq 3b10 <ldm_get_disk_groups@plt> 4374: 49 89 c4 mov %rax,%r12 4377: 8b 40 08 mov 0x8(%rax),%eax 437a: 85 c0 test %eax,%eax 437c: 74 6a je 43e8 <ldm_partition_get_name@plt+0x858> 437e: 31 db xor %ebx,%ebx 4380: eb 15 jmp 4397 <ldm_partition_get_name@plt+0x807> 4382: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 4388: e8 83 f2 ff ff callq 3610 <g_free@plt> 438d: 83 c3 01 add $0x1,%ebx 4390: 41 39 5c 24 08 cmp %ebx,0x8(%r12) 4395: 76 51 jbe 43e8 <ldm_partition_get_name@plt+0x858> 4397: 49 8b 14 24 mov (%r12),%rdx 439b: 89 d8 mov %ebx,%eax 439d: 4c 8b 34 c2 mov (%rdx,%rax,8),%r14 43a1: 4c 89 f7 mov %r14,%rdi 43a4: e8 37 f7 ff ff callq 3ae0 <ldm_disk_group_get_guid@plt> 43a9: 4c 89 ee mov %r13,%rsi 43ac: 48 89 c7 mov %rax,%rdi 43af: 48 89 c5 mov %rax,%rbp 43b2: e8 29 f3 ff ff callq 36e0 <g_strcmp0@plt> 43b7: 48 89 ef mov %rbp,%rdi 43ba: 85 c0 test %eax,%eax 43bc: 75 ca jne 4388 <ldm_partition_get_name@plt+0x7f8> 43be: e8 4d f2 ff ff callq 3610 <g_free@plt> 43c3: 4d 85 f6 test %r14,%r14 43c6: 74 20 je 43e8 <ldm_partition_get_name@plt+0x858> 43c8: 4c 89 f7 mov %r14,%rdi 43cb: e8 20 f4 ff ff callq 37f0 <g_object_ref@plt> 43d0: 4c 89 e7 mov %r12,%rdi 43d3: e8 88 f3 ff ff callq 3760 <g_array_unref@plt> 43d8: 5b pop %rbx 43d9: 4c 89 f0 mov %r14,%rax 43dc: 5d pop %rbp 43dd: 41 5c pop %r12 43df: 41 5d pop %r13 43e1: 41 5e pop %r14 43e3: c3 retq 43e4: 0f 1f 40 00 nopl 0x0(%rax) 43e8: 4c 89 e9 mov %r13,%rcx 43eb: 48 8d 15 ae 20 00 00 lea 0x20ae(%rip),%rdx # 64a0 <_IO_stdin_used@@Base+0x4a0> 43f2: 31 ff xor %edi,%edi 43f4: 31 c0 xor %eax,%eax 43f6: be 10 00 00 00 mov $0x10,%esi 43fb: 45 31 f6 xor %r14d,%r14d 43fe: e8 5d f7 ff ff callq 3b60 <g_log@plt> 4403: eb cb jmp 43d0 <ldm_partition_get_name@plt+0x840> 4405: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 4410: 41 57 push %r15 4412: 41 56 push %r14 4414: 49 89 fe mov %rdi,%r14 4417: 48 89 cf mov %rcx,%rdi 441a: 41 55 push %r13 441c: 41 89 f5 mov %esi,%r13d 441f: 41 54 push %r12 4421: 49 89 cc mov %rcx,%r12 4424: 55 push %rbp 4425: 4c 89 cd mov %r9,%rbp 4428: 53 push %rbx 4429: 48 89 d3 mov %rdx,%rbx 442c: 48 83 ec 58 sub $0x58,%rsp 4430: 48 8b 84 24 90 00 00 00 mov 0x90(%rsp),%rax 4438: 4c 89 44 24 18 mov %r8,0x18(%rsp) 443d: 48 89 04 24 mov %rax,(%rsp) 4441: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 444a: 48 89 44 24 48 mov %rax,0x48(%rsp) 444f: 31 c0 xor %eax,%eax 4451: e8 ea f6 ff ff callq 3b40 <json_builder_begin_array@plt> 4456: 41 83 fd 01 cmp $0x1,%r13d 445a: 0f 84 60 01 00 00 je 45c0 <ldm_partition_get_name@plt+0xa30> 4460: 41 83 fd 03 cmp $0x3,%r13d 4464: 74 32 je 4498 <ldm_partition_get_name@plt+0x908> 4466: 31 c0 xor %eax,%eax 4468: ff d5 callq *%rbp 446a: 41 89 c5 mov %eax,%r13d 446d: 48 8b 44 24 48 mov 0x48(%rsp),%rax 4472: 64 48 33 04 25 28 00 00 00 xor %fs:0x28,%rax 447b: 0f 85 40 03 00 00 jne 47c1 <ldm_partition_get_name@plt+0xc31> 4481: 48 83 c4 58 add $0x58,%rsp 4485: 44 89 e8 mov %r13d,%eax 4488: 5b pop %rbx 4489: 5d pop %rbp 448a: 41 5c pop %r12 448c: 41 5d pop %r13 448e: 41 5e pop %r14 4490: 41 5f pop %r15 4492: c3 retq 4493: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 4498: 48 8b 3b mov (%rbx),%rdi 449b: 48 8d 35 19 20 00 00 lea 0x2019(%rip),%rsi # 64bb <_IO_stdin_used@@Base+0x4bb> 44a2: e8 39 f2 ff ff callq 36e0 <g_strcmp0@plt> 44a7: 41 89 c5 mov %eax,%r13d 44aa: 85 c0 test %eax,%eax 44ac: 75 b8 jne 4466 <ldm_partition_get_name@plt+0x8d6> 44ae: 48 8b 73 08 mov 0x8(%rbx),%rsi 44b2: 4c 89 f7 mov %r14,%rdi 44b5: e8 a6 fe ff ff callq 4360 <ldm_partition_get_name@plt+0x7d0> 44ba: 49 89 c7 mov %rax,%r15 44bd: 48 85 c0 test %rax,%rax 44c0: 74 ab je 446d <ldm_partition_get_name@plt+0x8dd> 44c2: 48 89 c7 mov %rax,%rdi 44c5: e8 86 f4 ff ff callq 3950 <ldm_disk_group_get_volumes@plt> 44ca: 8b 48 08 mov 0x8(%rax),%ecx 44cd: 49 89 c6 mov %rax,%r14 44d0: 85 c9 test %ecx,%ecx 44d2: 0f 84 78 02 00 00 je 4750 <ldm_partition_get_name@plt+0xbc0> 44d8: 44 89 6c 24 10 mov %r13d,0x10(%rsp) 44dd: 31 ed xor %ebp,%ebp 44df: 4c 89 64 24 08 mov %r12,0x8(%rsp) 44e4: eb 1c jmp 4502 <ldm_partition_get_name@plt+0x972> 44e6: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 44f0: e8 1b f1 ff ff callq 3610 <g_free@plt> 44f5: 83 c5 01 add $0x1,%ebp 44f8: 41 39 6e 08 cmp %ebp,0x8(%r14) 44fc: 0f 86 49 02 00 00 jbe 474b <ldm_partition_get_name@plt+0xbbb> 4502: 49 8b 16 mov (%r14),%rdx 4505: 89 e8 mov %ebp,%eax 4507: 4c 8b 2c c2 mov (%rdx,%rax,8),%r13 450b: 4c 89 ef mov %r13,%rdi 450e: e8 3d f1 ff ff callq 3650 <ldm_volume_get_name@plt> 4513: 48 8b 73 10 mov 0x10(%rbx),%rsi 4517: 48 89 c7 mov %rax,%rdi 451a: 49 89 c4 mov %rax,%r12 451d: e8 be f1 ff ff callq 36e0 <g_strcmp0@plt> 4522: 4c 89 e7 mov %r12,%rdi 4525: 85 c0 test %eax,%eax 4527: 75 c7 jne 44f0 <ldm_partition_get_name@plt+0x960> 4529: e8 e2 f0 ff ff callq 3610 <g_free@plt> 452e: 4d 85 ed test %r13,%r13 4531: 74 c2 je 44f5 <ldm_partition_get_name@plt+0x965> 4533: 4c 89 ff mov %r15,%rdi 4536: 4c 89 6c 24 10 mov %r13,0x10(%rsp) 453b: 4c 8b 64 24 08 mov 0x8(%rsp),%r12 4540: e8 8b f1 ff ff callq 36d0 <g_object_unref@plt> 4545: 4c 89 f7 mov %r14,%rdi 4548: e8 13 f2 ff ff callq 3760 <g_array_unref@plt> 454d: 4c 8b 44 24 10 mov 0x10(%rsp),%r8 4552: 48 8b 04 24 mov (%rsp),%rax 4556: 48 c7 44 24 38 00 00 00 00 movq $0x0,0x38(%rsp) 455f: 48 c7 44 24 40 00 00 00 00 movq $0x0,0x40(%rsp) 4568: 48 8d 54 24 38 lea 0x38(%rsp),%rdx 456d: 48 8d 74 24 40 lea 0x40(%rsp),%rsi 4572: 4c 89 c7 mov %r8,%rdi 4575: ff d0 callq *%rax 4577: 41 89 c5 mov %eax,%r13d 457a: 85 c0 test %eax,%eax 457c: 0f 84 00 02 00 00 je 4782 <ldm_partition_get_name@plt+0xbf2> 4582: 48 8b 44 24 40 mov 0x40(%rsp),%rax 4587: 48 85 c0 test %rax,%rax 458a: 74 1a je 45a6 <ldm_partition_get_name@plt+0xa16> 458c: 48 8b 30 mov (%rax),%rsi 458f: 4c 89 e7 mov %r12,%rdi 4592: e8 19 f3 ff ff callq 38b0 <json_builder_add_string_value@plt> 4597: 48 8b 7c 24 40 mov 0x40(%rsp),%rdi 459c: be 01 00 00 00 mov $0x1,%esi 45a1: e8 8a f2 ff ff callq 3830 <g_string_free@plt> 45a6: 4c 89 e7 mov %r12,%rdi 45a9: 41 bd 01 00 00 00 mov $0x1,%r13d 45af: e8 8c f2 ff ff callq 3840 <json_builder_end_array@plt> 45b4: e9 b4 fe ff ff jmpq 446d <ldm_partition_get_name@plt+0x8dd> 45b9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 45c0: 48 8b 3b mov (%rbx),%rdi 45c3: 48 8d 35 ed 1e 00 00 lea 0x1eed(%rip),%rsi # 64b7 <_IO_stdin_used@@Base+0x4b7> 45ca: e8 11 f1 ff ff callq 36e0 <g_strcmp0@plt> 45cf: 85 c0 test %eax,%eax 45d1: 0f 85 8f fe ff ff jne 4466 <ldm_partition_get_name@plt+0x8d6> 45d7: 4c 89 f7 mov %r14,%rdi 45da: e8 31 f5 ff ff callq 3b10 <ldm_get_disk_groups@plt> 45df: 44 8b 48 08 mov 0x8(%rax),%r9d 45e3: 48 89 44 24 28 mov %rax,0x28(%rsp) 45e8: 45 85 c9 test %r9d,%r9d 45eb: 0f 84 4b 01 00 00 je 473c <ldm_partition_get_name@plt+0xbac> 45f1: c7 44 24 10 00 00 00 00 movl $0x0,0x10(%rsp) 45f9: 4c 8b 3c 24 mov (%rsp),%r15 45fd: 4c 89 64 24 08 mov %r12,0x8(%rsp) 4602: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 4608: 48 8b 4c 24 28 mov 0x28(%rsp),%rcx 460d: 8b 44 24 10 mov 0x10(%rsp),%eax 4611: 48 8b 11 mov (%rcx),%rdx 4614: 48 8b 04 c2 mov (%rdx,%rax,8),%rax 4618: 48 89 c7 mov %rax,%rdi 461b: 48 89 44 24 20 mov %rax,0x20(%rsp) 4620: e8 2b f3 ff ff callq 3950 <ldm_disk_group_get_volumes@plt> 4625: 44 8b 40 08 mov 0x8(%rax),%r8d 4629: 48 89 c5 mov %rax,%rbp 462c: 45 85 c0 test %r8d,%r8d 462f: 0f 84 eb 00 00 00 je 4720 <ldm_partition_get_name@plt+0xb90> 4635: 31 db xor %ebx,%ebx 4637: 4c 8d 74 24 38 lea 0x38(%rsp),%r14 463c: 4c 8d 6c 24 40 lea 0x40(%rsp),%r13 4641: eb 37 jmp 467a <ldm_partition_get_name@plt+0xaea> 4643: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 4648: 48 8b 44 24 40 mov 0x40(%rsp),%rax 464d: 48 85 c0 test %rax,%rax 4650: 74 1c je 466e <ldm_partition_get_name@plt+0xade> 4652: 48 8b 30 mov (%rax),%rsi 4655: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 465a: e8 51 f2 ff ff callq 38b0 <json_builder_add_string_value@plt> 465f: 48 8b 7c 24 40 mov 0x40(%rsp),%rdi 4664: be 01 00 00 00 mov $0x1,%esi 4669: e8 c2 f1 ff ff callq 3830 <g_string_free@plt> 466e: 83 c3 01 add $0x1,%ebx 4671: 39 5d 08 cmp %ebx,0x8(%rbp) 4674: 0f 86 a6 00 00 00 jbe 4720 <ldm_partition_get_name@plt+0xb90> 467a: 48 8b 55 00 mov 0x0(%rbp),%rdx 467e: 89 d8 mov %ebx,%eax 4680: 4c 89 ee mov %r13,%rsi 4683: 4c 8b 24 c2 mov (%rdx,%rax,8),%r12 4687: 4c 89 f2 mov %r14,%rdx 468a: 48 c7 44 24 38 00 00 00 00 movq $0x0,0x38(%rsp) 4693: 48 c7 44 24 40 00 00 00 00 movq $0x0,0x40(%rsp) 469c: 4c 89 e7 mov %r12,%rdi 469f: 41 ff d7 callq *%r15 46a2: 85 c0 test %eax,%eax 46a4: 75 a2 jne 4648 <ldm_partition_get_name@plt+0xab8> 46a6: 4c 89 e7 mov %r12,%rdi 46a9: e8 a2 ef ff ff callq 3650 <ldm_volume_get_name@plt> 46ae: 48 8b 7c 24 20 mov 0x20(%rsp),%rdi 46b3: 49 89 c4 mov %rax,%r12 46b6: e8 25 f4 ff ff callq 3ae0 <ldm_disk_group_get_guid@plt> 46bb: 48 83 ec 08 sub $0x8,%rsp 46bf: be 10 00 00 00 mov $0x10,%esi 46c4: 31 ff xor %edi,%edi 46c6: 49 89 c1 mov %rax,%r9 46c9: 48 8b 44 24 40 mov 0x40(%rsp),%rax 46ce: 4d 89 e0 mov %r12,%r8 46d1: 48 8d 15 30 1a 00 00 lea 0x1a30(%rip),%rdx # 6108 <_IO_stdin_used@@Base+0x108> 46d8: ff 70 08 pushq 0x8(%rax) 46db: 48 8b 4c 24 28 mov 0x28(%rsp),%rcx 46e0: 31 c0 xor %eax,%eax 46e2: 4c 89 4c 24 10 mov %r9,0x10(%rsp) 46e7: e8 74 f4 ff ff callq 3b60 <g_log@plt> 46ec: 4c 89 e7 mov %r12,%rdi 46ef: e8 1c ef ff ff callq 3610 <g_free@plt> 46f4: 4c 8b 4c 24 10 mov 0x10(%rsp),%r9 46f9: 4c 89 cf mov %r9,%rdi 46fc: e8 0f ef ff ff callq 3610 <g_free@plt> 4701: 48 8b 7c 24 48 mov 0x48(%rsp),%rdi 4706: e8 b5 f3 ff ff callq 3ac0 <g_error_free@plt> 470b: 48 c7 44 24 48 00 00 00 00 movq $0x0,0x48(%rsp) 4714: 5e pop %rsi 4715: 5f pop %rdi 4716: e9 2d ff ff ff jmpq 4648 <ldm_partition_get_name@plt+0xab8> 471b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 4720: 48 8b 4c 24 28 mov 0x28(%rsp),%rcx 4725: 83 44 24 10 01 addl $0x1,0x10(%rsp) 472a: 8b 44 24 10 mov 0x10(%rsp),%eax 472e: 39 41 08 cmp %eax,0x8(%rcx) 4731: 0f 87 d1 fe ff ff ja 4608 <ldm_partition_get_name@plt+0xa78> 4737: 4c 8b 64 24 08 mov 0x8(%rsp),%r12 473c: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 4741: e8 1a f0 ff ff callq 3760 <g_array_unref@plt> 4746: e9 5b fe ff ff jmpq 45a6 <ldm_partition_get_name@plt+0xa16> 474b: 44 8b 6c 24 10 mov 0x10(%rsp),%r13d 4750: 4c 89 ff mov %r15,%rdi 4753: e8 78 ef ff ff callq 36d0 <g_object_unref@plt> 4758: 4c 89 f7 mov %r14,%rdi 475b: e8 00 f0 ff ff callq 3760 <g_array_unref@plt> 4760: 48 8b 4b 08 mov 0x8(%rbx),%rcx 4764: 4c 8b 43 10 mov 0x10(%rbx),%r8 4768: 31 ff xor %edi,%edi 476a: 48 8d 15 c7 19 00 00 lea 0x19c7(%rip),%rdx # 6138 <_IO_stdin_used@@Base+0x138> 4771: be 10 00 00 00 mov $0x10,%esi 4776: 31 c0 xor %eax,%eax 4778: e8 e3 f3 ff ff callq 3b60 <g_log@plt> 477d: e9 eb fc ff ff jmpq 446d <ldm_partition_get_name@plt+0x8dd> 4782: 48 83 ec 08 sub $0x8,%rsp 4786: 48 8d 15 7b 19 00 00 lea 0x197b(%rip),%rdx # 6108 <_IO_stdin_used@@Base+0x108> 478d: be 10 00 00 00 mov $0x10,%esi 4792: 31 ff xor %edi,%edi 4794: 48 8b 44 24 40 mov 0x40(%rsp),%rax 4799: ff 70 08 pushq 0x8(%rax) 479c: 48 8b 4c 24 28 mov 0x28(%rsp),%rcx 47a1: 31 c0 xor %eax,%eax 47a3: 4c 8b 4b 08 mov 0x8(%rbx),%r9 47a7: 4c 8b 43 10 mov 0x10(%rbx),%r8 47ab: e8 b0 f3 ff ff callq 3b60 <g_log@plt> 47b0: 48 8b 7c 24 48 mov 0x48(%rsp),%rdi 47b5: e8 06 f3 ff ff callq 3ac0 <g_error_free@plt> 47ba: 58 pop %rax 47bb: 5a pop %rdx 47bc: e9 ac fc ff ff jmpq 446d <ldm_partition_get_name@plt+0x8dd> 47c1: e8 0a f2 ff ff callq 39d0 <__stack_chk_fail@plt> 47c6: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 47d0: f3 0f 1e fa endbr64 47d4: 48 83 ec 10 sub $0x10,%rsp 47d8: ff 35 e2 47 00 00 pushq 0x47e2(%rip) # 8fc0 <ldm_volume_dm_create> 47de: 4c 8d 0d 8b f6 ff ff lea -0x975(%rip),%r9 # 3e70 <ldm_partition_get_name@plt+0x2e0> 47e5: 4c 8d 05 d6 1c 00 00 lea 0x1cd6(%rip),%r8 # 64c2 <_IO_stdin_used@@Base+0x4c2> 47ec: e8 1f fc ff ff callq 4410 <ldm_partition_get_name@plt+0x880> 47f1: 48 83 c4 18 add $0x18,%rsp 47f5: c3 retq 47f6: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 4800: f3 0f 1e fa endbr64 4804: 48 83 ec 10 sub $0x10,%rsp 4808: ff 35 e2 47 00 00 pushq 0x47e2(%rip) # 8ff0 <ldm_volume_dm_remove> 480e: 4c 8d 0d 8b f6 ff ff lea -0x975(%rip),%r9 # 3ea0 <ldm_partition_get_name@plt+0x310> 4815: 4c 8d 05 ad 1c 00 00 lea 0x1cad(%rip),%r8 # 64c9 <_IO_stdin_used@@Base+0x4c9> 481c: e8 ef fb ff ff callq 4410 <ldm_partition_get_name@plt+0x880> 4821: 48 83 c4 18 add $0x18,%rsp 4825: c3 retq 4826: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 4830: f3 0f 1e fa endbr64 4834: 41 55 push %r13 4836: 41 54 push %r12 4838: 55 push %rbp 4839: 53 push %rbx 483a: 48 83 ec 08 sub $0x8,%rsp 483e: 83 fe 01 cmp $0x1,%esi 4841: 74 25 je 4868 <ldm_partition_get_name@plt+0xcd8> 4843: 31 c0 xor %eax,%eax 4845: 48 8d 15 2c 18 00 00 lea 0x182c(%rip),%rdx # 6078 <_IO_stdin_used@@Base+0x78> 484c: be 10 00 00 00 mov $0x10,%esi 4851: 31 ff xor %edi,%edi 4853: e8 08 f3 ff ff callq 3b60 <g_log@plt> 4858: 31 c0 xor %eax,%eax 485a: 48 83 c4 08 add $0x8,%rsp 485e: 5b pop %rbx 485f: 5d pop %rbp 4860: 41 5c pop %r12 4862: 41 5d pop %r13 4864: c3 retq 4865: 0f 1f 00 nopl (%rax) 4868: 48 8b 32 mov (%rdx),%rsi 486b: 48 89 d3 mov %rdx,%rbx 486e: 48 89 cd mov %rcx,%rbp 4871: e8 ea fa ff ff callq 4360 <ldm_partition_get_name@plt+0x7d0> 4876: 49 89 c4 mov %rax,%r12 4879: 31 c0 xor %eax,%eax 487b: 4d 85 e4 test %r12,%r12 487e: 74 da je 485a <ldm_partition_get_name@plt+0xcca> 4880: 4c 89 e7 mov %r12,%rdi 4883: e8 88 f0 ff ff callq 3910 <ldm_disk_group_get_name@plt> 4888: 48 89 ef mov %rbp,%rdi 488b: 49 89 c5 mov %rax,%r13 488e: e8 5d ee ff ff callq 36f0 <json_builder_begin_object@plt> 4893: 48 89 ef mov %rbp,%rdi 4896: 48 8d 35 fe 1b 00 00 lea 0x1bfe(%rip),%rsi # 649b <_IO_stdin_used@@Base+0x49b> 489d: e8 4e f1 ff ff callq 39f0 <json_builder_set_member_name@plt> 48a2: 4c 89 ee mov %r13,%rsi 48a5: 48 89 ef mov %rbp,%rdi 48a8: e8 03 f0 ff ff callq 38b0 <json_builder_add_string_value@plt> 48ad: 48 89 ef mov %rbp,%rdi 48b0: 48 8d 35 19 1c 00 00 lea 0x1c19(%rip),%rsi # 64d0 <_IO_stdin_used@@Base+0x4d0> 48b7: e8 34 f1 ff ff callq 39f0 <json_builder_set_member_name@plt> 48bc: 48 8b 33 mov (%rbx),%rsi 48bf: 48 89 ef mov %rbp,%rdi 48c2: e8 e9 ef ff ff callq 38b0 <json_builder_add_string_value@plt> 48c7: 4c 89 ef mov %r13,%rdi 48ca: e8 41 ed ff ff callq 3610 <g_free@plt> 48cf: 4c 89 e7 mov %r12,%rdi 48d2: e8 79 f0 ff ff callq 3950 <ldm_disk_group_get_volumes@plt> 48d7: 48 8d 15 f7 1b 00 00 lea 0x1bf7(%rip),%rdx # 64d5 <_IO_stdin_used@@Base+0x4d5> 48de: 48 89 ef mov %rbp,%rdi 48e1: 49 89 c5 mov %rax,%r13 48e4: 48 89 c6 mov %rax,%rsi 48e7: e8 c4 f9 ff ff callq 42b0 <ldm_partition_get_name@plt+0x720> 48ec: 4c 89 ef mov %r13,%rdi 48ef: e8 6c ee ff ff callq 3760 <g_array_unref@plt> 48f4: 4c 89 e7 mov %r12,%rdi 48f7: e8 e4 f0 ff ff callq 39e0 <ldm_disk_group_get_disks@plt> 48fc: 48 8d 15 da 1b 00 00 lea 0x1bda(%rip),%rdx # 64dd <_IO_stdin_used@@Base+0x4dd> 4903: 48 89 ef mov %rbp,%rdi 4906: 49 89 c5 mov %rax,%r13 4909: 48 89 c6 mov %rax,%rsi 490c: e8 9f f9 ff ff callq 42b0 <ldm_partition_get_name@plt+0x720> 4911: 4c 89 ef mov %r13,%rdi 4914: e8 47 ee ff ff callq 3760 <g_array_unref@plt> 4919: 48 89 ef mov %rbp,%rdi 491c: e8 4f ee ff ff callq 3770 <json_builder_end_object@plt> 4921: 4c 89 e7 mov %r12,%rdi 4924: e8 a7 ed ff ff callq 36d0 <g_object_unref@plt> 4929: 48 83 c4 08 add $0x8,%rsp 492d: b8 01 00 00 00 mov $0x1,%eax 4932: 5b pop %rbx 4933: 5d pop %rbp 4934: 41 5c pop %r12 4936: 41 5d pop %r13 4938: c3 retq 4939: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 4940: f3 0f 1e fa endbr64 4944: 41 57 push %r15 4946: 41 56 push %r14 4948: 41 55 push %r13 494a: 41 54 push %r12 494c: 55 push %rbp 494d: 53 push %rbx 494e: 48 83 ec 28 sub $0x28,%rsp 4952: 48 89 14 24 mov %rdx,(%rsp) 4956: 83 fe 02 cmp $0x2,%esi 4959: 74 2d je 4988 <ldm_partition_get_name@plt+0xdf8> 495b: 48 8d 15 16 17 00 00 lea 0x1716(%rip),%rdx # 6078 <_IO_stdin_used@@Base+0x78> 4962: be 10 00 00 00 mov $0x10,%esi 4967: 31 ff xor %edi,%edi 4969: 31 c0 xor %eax,%eax 496b: e8 f0 f1 ff ff callq 3b60 <g_log@plt> 4970: 45 31 ed xor %r13d,%r13d 4973: 48 83 c4 28 add $0x28,%rsp 4977: 44 89 e8 mov %r13d,%eax 497a: 5b pop %rbx 497b: 5d pop %rbp 497c: 41 5c pop %r12 497e: 41 5d pop %r13 4980: 41 5e pop %r14 4982: 41 5f pop %r15 4984: c3 retq 4985: 0f 1f 00 nopl (%rax) 4988: 48 8b 04 24 mov (%rsp),%rax 498c: 49 89 cc mov %rcx,%r12 498f: 45 31 ed xor %r13d,%r13d 4992: 48 8b 30 mov (%rax),%rsi 4995: e8 c6 f9 ff ff callq 4360 <ldm_partition_get_name@plt+0x7d0> 499a: 48 89 c5 mov %rax,%rbp 499d: 48 85 c0 test %rax,%rax 49a0: 74 d1 je 4973 <ldm_partition_get_name@plt+0xde3> 49a2: 48 89 c7 mov %rax,%rdi 49a5: 31 db xor %ebx,%ebx 49a7: e8 a4 ef ff ff callq 3950 <ldm_disk_group_get_volumes@plt> 49ac: 48 89 ef mov %rbp,%rdi 49af: 49 89 c6 mov %rax,%r14 49b2: e8 19 ed ff ff callq 36d0 <g_object_unref@plt> 49b7: 41 8b 56 08 mov 0x8(%r14),%edx 49bb: 85 d2 test %edx,%edx 49bd: 75 26 jne 49e5 <ldm_partition_get_name@plt+0xe55> 49bf: e9 cc 01 00 00 jmpq 4b90 <ldm_partition_get_name@plt+0x1000> 49c4: 0f 1f 40 00 nopl 0x0(%rax) 49c8: 48 89 ef mov %rbp,%rdi 49cb: 83 c3 01 add $0x1,%ebx 49ce: e8 3d ec ff ff callq 3610 <g_free@plt> 49d3: 4c 89 ef mov %r13,%rdi 49d6: e8 35 ec ff ff callq 3610 <g_free@plt> 49db: 41 3b 5e 08 cmp 0x8(%r14),%ebx 49df: 0f 83 ab 01 00 00 jae 4b90 <ldm_partition_get_name@plt+0x1000> 49e5: 49 8b 16 mov (%r14),%rdx 49e8: 89 d8 mov %ebx,%eax 49ea: 4c 8b 3c c2 mov (%rdx,%rax,8),%r15 49ee: 4c 89 ff mov %r15,%rdi 49f1: e8 5a ec ff ff callq 3650 <ldm_volume_get_name@plt> 49f6: 4c 89 ff mov %r15,%rdi 49f9: 48 89 c5 mov %rax,%rbp 49fc: e8 6f f1 ff ff callq 3b70 <ldm_volume_get_voltype@plt> 4a01: 4c 89 ff mov %r15,%rdi 4a04: 89 44 24 0c mov %eax,0xc(%rsp) 4a08: e8 a3 ef ff ff callq 39b0 <ldm_volume_get_size@plt> 4a0d: 4c 89 ff mov %r15,%rdi 4a10: 48 89 44 24 10 mov %rax,0x10(%rsp) 4a15: e8 26 ec ff ff callq 3640 <ldm_volume_get_chunk_size@plt> 4a1a: 4c 89 ff mov %r15,%rdi 4a1d: 48 89 44 24 18 mov %rax,0x18(%rsp) 4a22: e8 c9 eb ff ff callq 35f0 <ldm_volume_get_hint@plt> 4a27: 48 89 ef mov %rbp,%rdi 4a2a: 49 89 c5 mov %rax,%r13 4a2d: 48 8b 04 24 mov (%rsp),%rax 4a31: 48 8b 70 08 mov 0x8(%rax),%rsi 4a35: e8 a6 ec ff ff callq 36e0 <g_strcmp0@plt> 4a3a: 85 c0 test %eax,%eax 4a3c: 75 8a jne 49c8 <ldm_partition_get_name@plt+0xe38> 4a3e: 4c 89 e7 mov %r12,%rdi 4a41: e8 aa ec ff ff callq 36f0 <json_builder_begin_object@plt> 4a46: e8 25 ef ff ff callq 3970 <ldm_volume_type_get_type@plt> 4a4b: 48 89 c7 mov %rax,%rdi 4a4e: e8 4d ee ff ff callq 38a0 <g_type_class_peek@plt> 4a53: 8b 74 24 0c mov 0xc(%rsp),%esi 4a57: 48 89 c7 mov %rax,%rdi 4a5a: e8 81 ed ff ff callq 37e0 <g_enum_get_value@plt> 4a5f: 48 8d 35 35 1a 00 00 lea 0x1a35(%rip),%rsi # 649b <_IO_stdin_used@@Base+0x49b> 4a66: 4c 89 e7 mov %r12,%rdi 4a69: 48 89 c3 mov %rax,%rbx 4a6c: e8 7f ef ff ff callq 39f0 <json_builder_set_member_name@plt> 4a71: 48 89 ee mov %rbp,%rsi 4a74: 4c 89 e7 mov %r12,%rdi 4a77: e8 34 ee ff ff callq 38b0 <json_builder_add_string_value@plt> 4a7c: 48 8d 35 60 1a 00 00 lea 0x1a60(%rip),%rsi # 64e3 <_IO_stdin_used@@Base+0x4e3> 4a83: 4c 89 e7 mov %r12,%rdi 4a86: e8 65 ef ff ff callq 39f0 <json_builder_set_member_name@plt> 4a8b: 48 8b 73 10 mov 0x10(%rbx),%rsi 4a8f: 4c 89 e7 mov %r12,%rdi 4a92: e8 19 ee ff ff callq 38b0 <json_builder_add_string_value@plt> 4a97: 48 8d 35 91 1a 00 00 lea 0x1a91(%rip),%rsi # 652f <_IO_stdin_used@@Base+0x52f> 4a9e: 4c 89 e7 mov %r12,%rdi 4aa1: e8 4a ef ff ff callq 39f0 <json_builder_set_member_name@plt> 4aa6: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 4aab: 4c 89 e7 mov %r12,%rdi 4aae: e8 9d ec ff ff callq 3750 <json_builder_add_int_value@plt> 4ab3: 48 8d 35 2e 1a 00 00 lea 0x1a2e(%rip),%rsi # 64e8 <_IO_stdin_used@@Base+0x4e8> 4aba: 4c 89 e7 mov %r12,%rdi 4abd: e8 2e ef ff ff callq 39f0 <json_builder_set_member_name@plt> 4ac2: 48 8b 74 24 18 mov 0x18(%rsp),%rsi 4ac7: 4c 89 e7 mov %r12,%rdi 4aca: e8 81 ec ff ff callq 3750 <json_builder_add_int_value@plt> 4acf: 4d 85 ed test %r13,%r13 4ad2: 74 1a je 4aee <ldm_partition_get_name@plt+0xf5e> 4ad4: 48 8d 35 18 1a 00 00 lea 0x1a18(%rip),%rsi # 64f3 <_IO_stdin_used@@Base+0x4f3> 4adb: 4c 89 e7 mov %r12,%rdi 4ade: e8 0d ef ff ff callq 39f0 <json_builder_set_member_name@plt> 4ae3: 4c 89 ee mov %r13,%rsi 4ae6: 4c 89 e7 mov %r12,%rdi 4ae9: e8 c2 ed ff ff callq 38b0 <json_builder_add_string_value@plt> 4aee: 48 8d 35 03 1a 00 00 lea 0x1a03(%rip),%rsi # 64f8 <_IO_stdin_used@@Base+0x4f8> 4af5: 4c 89 e7 mov %r12,%rdi 4af8: e8 f3 ee ff ff callq 39f0 <json_builder_set_member_name@plt> 4afd: 4c 89 e7 mov %r12,%rdi 4b00: e8 3b f0 ff ff callq 3b40 <json_builder_begin_array@plt> 4b05: 4c 89 ff mov %r15,%rdi 4b08: e8 83 ed ff ff callq 3890 <ldm_volume_get_partitions@plt> 4b0d: 49 89 c0 mov %rax,%r8 4b10: 8b 40 08 mov 0x8(%rax),%eax 4b13: 85 c0 test %eax,%eax 4b15: 74 3e je 4b55 <ldm_partition_get_name@plt+0xfc5> 4b17: 31 db xor %ebx,%ebx 4b19: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 4b20: 49 8b 00 mov (%r8),%rax 4b23: 89 da mov %ebx,%edx 4b25: 4c 89 04 24 mov %r8,(%rsp) 4b29: 83 c3 01 add $0x1,%ebx 4b2c: 48 8b 3c d0 mov (%rax,%rdx,8),%rdi 4b30: e8 5b f0 ff ff callq 3b90 <ldm_partition_get_name@plt> 4b35: 4c 89 e7 mov %r12,%rdi 4b38: 49 89 c7 mov %rax,%r15 4b3b: 48 89 c6 mov %rax,%rsi 4b3e: e8 6d ed ff ff callq 38b0 <json_builder_add_string_value@plt> 4b43: 4c 89 ff mov %r15,%rdi 4b46: e8 c5 ea ff ff callq 3610 <g_free@plt> 4b4b: 4c 8b 04 24 mov (%rsp),%r8 4b4f: 41 3b 58 08 cmp 0x8(%r8),%ebx 4b53: 72 cb jb 4b20 <ldm_partition_get_name@plt+0xf90> 4b55: 4c 89 c7 mov %r8,%rdi 4b58: e8 03 ec ff ff callq 3760 <g_array_unref@plt> 4b5d: 4c 89 e7 mov %r12,%rdi 4b60: e8 db ec ff ff callq 3840 <json_builder_end_array@plt> 4b65: 4c 89 e7 mov %r12,%rdi 4b68: e8 03 ec ff ff callq 3770 <json_builder_end_object@plt> 4b6d: 48 89 ef mov %rbp,%rdi 4b70: e8 9b ea ff ff callq 3610 <g_free@plt> 4b75: 4c 89 ef mov %r13,%rdi 4b78: 41 bd 01 00 00 00 mov $0x1,%r13d 4b7e: e8 8d ea ff ff callq 3610 <g_free@plt> 4b83: 4c 89 f7 mov %r14,%rdi 4b86: e8 d5 eb ff ff callq 3760 <g_array_unref@plt> 4b8b: e9 e3 fd ff ff jmpq 4973 <ldm_partition_get_name@plt+0xde3> 4b90: 45 31 ed xor %r13d,%r13d 4b93: eb ee jmp 4b83 <ldm_partition_get_name@plt+0xff3> 4b95: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 4ba0: f3 0f 1e fa endbr64 4ba4: 41 57 push %r15 4ba6: 41 56 push %r14 4ba8: 41 55 push %r13 4baa: 41 54 push %r12 4bac: 55 push %rbp 4bad: 53 push %rbx 4bae: 48 83 ec 28 sub $0x28,%rsp 4bb2: 83 fe 02 cmp $0x2,%esi 4bb5: 74 29 je 4be0 <ldm_partition_get_name@plt+0x1050> 4bb7: 31 c0 xor %eax,%eax 4bb9: 48 8d 15 b8 14 00 00 lea 0x14b8(%rip),%rdx # 6078 <_IO_stdin_used@@Base+0x78> 4bc0: be 10 00 00 00 mov $0x10,%esi 4bc5: 31 ff xor %edi,%edi 4bc7: e8 94 ef ff ff callq 3b60 <g_log@plt> 4bcc: 31 c0 xor %eax,%eax 4bce: 48 83 c4 28 add $0x28,%rsp 4bd2: 5b pop %rbx 4bd3: 5d pop %rbp 4bd4: 41 5c pop %r12 4bd6: 41 5d pop %r13 4bd8: 41 5e pop %r14 4bda: 41 5f pop %r15 4bdc: c3 retq 4bdd: 0f 1f 00 nopl (%rax) 4be0: 48 8b 32 mov (%rdx),%rsi 4be3: 48 89 d3 mov %rdx,%rbx 4be6: 48 89 cd mov %rcx,%rbp 4be9: e8 72 f7 ff ff callq 4360 <ldm_partition_get_name@plt+0x7d0> 4bee: 49 89 c4 mov %rax,%r12 4bf1: 31 c0 xor %eax,%eax 4bf3: 4d 85 e4 test %r12,%r12 4bf6: 74 d6 je 4bce <ldm_partition_get_name@plt+0x103e> 4bf8: 4c 89 e7 mov %r12,%rdi 4bfb: e8 30 ea ff ff callq 3630 <ldm_disk_group_get_partitions@plt> 4c00: 4c 89 e7 mov %r12,%rdi 4c03: 49 89 c5 mov %rax,%r13 4c06: e8 c5 ea ff ff callq 36d0 <g_object_unref@plt> 4c0b: 41 8b 45 08 mov 0x8(%r13),%eax 4c0f: 85 c0 test %eax,%eax 4c11: 75 1d jne 4c30 <ldm_partition_get_name@plt+0x10a0> 4c13: 4c 89 ef mov %r13,%rdi 4c16: e8 45 eb ff ff callq 3760 <g_array_unref@plt> 4c1b: 48 83 c4 28 add $0x28,%rsp 4c1f: b8 01 00 00 00 mov $0x1,%eax 4c24: 5b pop %rbx 4c25: 5d pop %rbp 4c26: 41 5c pop %r12 4c28: 41 5d pop %r13 4c2a: 41 5e pop %r14 4c2c: 41 5f pop %r15 4c2e: c3 retq 4c2f: 90 nop 4c30: 45 31 ff xor %r15d,%r15d 4c33: 49 8b 4d 00 mov 0x0(%r13),%rcx 4c37: 44 89 f8 mov %r15d,%eax 4c3a: 4c 8b 34 c1 mov (%rcx,%rax,8),%r14 4c3e: 4c 89 f7 mov %r14,%rdi 4c41: e8 4a ef ff ff callq 3b90 <ldm_partition_get_name@plt> 4c46: 4c 89 f7 mov %r14,%rdi 4c49: 49 89 c4 mov %rax,%r12 4c4c: e8 0f ed ff ff callq 3960 <ldm_partition_get_start@plt> 4c51: 4c 89 f7 mov %r14,%rdi 4c54: 48 89 44 24 08 mov %rax,0x8(%rsp) 4c59: e8 12 ec ff ff callq 3870 <ldm_partition_get_size@plt> 4c5e: 48 8b 73 08 mov 0x8(%rbx),%rsi 4c62: 4c 89 e7 mov %r12,%rdi 4c65: 48 89 44 24 10 mov %rax,0x10(%rsp) 4c6a: e8 71 ea ff ff callq 36e0 <g_strcmp0@plt> 4c6f: 85 c0 test %eax,%eax 4c71: 74 1d je 4c90 <ldm_partition_get_name@plt+0x1100> 4c73: 4c 89 e7 mov %r12,%rdi 4c76: 41 83 c7 01 add $0x1,%r15d 4c7a: e8 91 e9 ff ff callq 3610 <g_free@plt> 4c7f: 45 3b 7d 08 cmp 0x8(%r13),%r15d 4c83: 73 8e jae 4c13 <ldm_partition_get_name@plt+0x1083> 4c85: eb ac jmp 4c33 <ldm_partition_get_name@plt+0x10a3> 4c87: 66 0f 1f 84 00 00 00 00 00 nopw 0x0(%rax,%rax,1) 4c90: 4c 89 f7 mov %r14,%rdi 4c93: e8 68 e9 ff ff callq 3600 <ldm_partition_get_disk@plt> 4c98: 48 89 c7 mov %rax,%rdi 4c9b: 48 89 44 24 18 mov %rax,0x18(%rsp) 4ca0: e8 bb ed ff ff callq 3a60 <ldm_disk_get_name@plt> 4ca5: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi 4caa: 48 89 c3 mov %rax,%rbx 4cad: e8 1e ea ff ff callq 36d0 <g_object_unref@plt> 4cb2: 48 89 ef mov %rbp,%rdi 4cb5: e8 36 ea ff ff callq 36f0 <json_builder_begin_object@plt> 4cba: 48 89 ef mov %rbp,%rdi 4cbd: 48 8d 35 d7 17 00 00 lea 0x17d7(%rip),%rsi # 649b <_IO_stdin_used@@Base+0x49b> 4cc4: e8 27 ed ff ff callq 39f0 <json_builder_set_member_name@plt> 4cc9: 4c 89 e6 mov %r12,%rsi 4ccc: 48 89 ef mov %rbp,%rdi 4ccf: e8 dc eb ff ff callq 38b0 <json_builder_add_string_value@plt> 4cd4: 48 89 ef mov %rbp,%rdi 4cd7: 48 8d 35 42 18 00 00 lea 0x1842(%rip),%rsi # 6520 <_IO_stdin_used@@Base+0x520> 4cde: e8 0d ed ff ff callq 39f0 <json_builder_set_member_name@plt> 4ce3: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 4ce8: 48 89 ef mov %rbp,%rdi 4ceb: e8 60 ea ff ff callq 3750 <json_builder_add_int_value@plt> 4cf0: 48 89 ef mov %rbp,%rdi 4cf3: 48 8d 35 35 18 00 00 lea 0x1835(%rip),%rsi # 652f <_IO_stdin_used@@Base+0x52f> 4cfa: e8 f1 ec ff ff callq 39f0 <json_builder_set_member_name@plt> 4cff: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 4d04: 48 89 ef mov %rbp,%rdi 4d07: e8 44 ea ff ff callq 3750 <json_builder_add_int_value@plt> 4d0c: 48 89 ef mov %rbp,%rdi 4d0f: 48 8d 35 ed 17 00 00 lea 0x17ed(%rip),%rsi # 6503 <_IO_stdin_used@@Base+0x503> 4d16: e8 d5 ec ff ff callq 39f0 <json_builder_set_member_name@plt> 4d1b: 48 89 de mov %rbx,%rsi 4d1e: 48 89 ef mov %rbp,%rdi 4d21: e8 8a eb ff ff callq 38b0 <json_builder_add_string_value@plt> 4d26: 48 89 ef mov %rbp,%rdi 4d29: e8 42 ea ff ff callq 3770 <json_builder_end_object@plt> 4d2e: 48 89 df mov %rbx,%rdi 4d31: e8 da e8 ff ff callq 3610 <g_free@plt> 4d36: 4c 89 e7 mov %r12,%rdi 4d39: e8 d2 e8 ff ff callq 3610 <g_free@plt> 4d3e: e9 d0 fe ff ff jmpq 4c13 <ldm_partition_get_name@plt+0x1083> 4d43: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 4d4e: 66 90 xchg %ax,%ax 4d50: f3 0f 1e fa endbr64 4d54: 41 57 push %r15 4d56: 41 56 push %r14 4d58: 41 55 push %r13 4d5a: 41 54 push %r12 4d5c: 55 push %rbp 4d5d: 53 push %rbx 4d5e: 48 83 ec 38 sub $0x38,%rsp 4d62: 48 89 54 24 10 mov %rdx,0x10(%rsp) 4d67: 83 fe 02 cmp $0x2,%esi 4d6a: 74 2c je 4d98 <ldm_partition_get_name@plt+0x1208> 4d6c: 31 c0 xor %eax,%eax 4d6e: 48 8d 15 03 13 00 00 lea 0x1303(%rip),%rdx # 6078 <_IO_stdin_used@@Base+0x78> 4d75: be 10 00 00 00 mov $0x10,%esi 4d7a: 31 ff xor %edi,%edi 4d7c: e8 df ed ff ff callq 3b60 <g_log@plt> 4d81: 31 c0 xor %eax,%eax 4d83: 48 83 c4 38 add $0x38,%rsp 4d87: 5b pop %rbx 4d88: 5d pop %rbp 4d89: 41 5c pop %r12 4d8b: 41 5d pop %r13 4d8d: 41 5e pop %r14 4d8f: 41 5f pop %r15 4d91: c3 retq 4d92: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 4d98: 48 8b 44 24 10 mov 0x10(%rsp),%rax 4d9d: 49 89 cc mov %rcx,%r12 4da0: 48 8b 30 mov (%rax),%rsi 4da3: e8 b8 f5 ff ff callq 4360 <ldm_partition_get_name@plt+0x7d0> 4da8: 48 89 c5 mov %rax,%rbp 4dab: 31 c0 xor %eax,%eax 4dad: 48 85 ed test %rbp,%rbp 4db0: 74 d1 je 4d83 <ldm_partition_get_name@plt+0x11f3> 4db2: 48 89 ef mov %rbp,%rdi 4db5: 31 db xor %ebx,%ebx 4db7: e8 24 ec ff ff callq 39e0 <ldm_disk_group_get_disks@plt> 4dbc: 48 89 ef mov %rbp,%rdi 4dbf: 49 89 c6 mov %rax,%r14 4dc2: 48 89 44 24 08 mov %rax,0x8(%rsp) 4dc7: e8 04 e9 ff ff callq 36d0 <g_object_unref@plt> 4dcc: 41 8b 46 08 mov 0x8(%r14),%eax 4dd0: 85 c0 test %eax,%eax 4dd2: 75 35 jne 4e09 <ldm_partition_get_name@plt+0x1279> 4dd4: e9 b7 01 00 00 jmpq 4f90 <ldm_partition_get_name@plt+0x1400> 4dd9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 4de0: 48 89 ef mov %rbp,%rdi 4de3: 83 c3 01 add $0x1,%ebx 4de6: e8 25 e8 ff ff callq 3610 <g_free@plt> 4deb: 4c 89 f7 mov %r14,%rdi 4dee: e8 1d e8 ff ff callq 3610 <g_free@plt> 4df3: 4c 89 ef mov %r13,%rdi 4df6: e8 15 e8 ff ff callq 3610 <g_free@plt> 4dfb: 48 8b 4c 24 08 mov 0x8(%rsp),%rcx 4e00: 3b 59 08 cmp 0x8(%rcx),%ebx 4e03: 0f 83 87 01 00 00 jae 4f90 <ldm_partition_get_name@plt+0x1400> 4e09: 48 8b 4c 24 08 mov 0x8(%rsp),%rcx 4e0e: 89 d8 mov %ebx,%eax 4e10: 48 8b 11 mov (%rcx),%rdx 4e13: 4c 8b 3c c2 mov (%rdx,%rax,8),%r15 4e17: 4c 89 ff mov %r15,%rdi 4e1a: e8 41 ec ff ff callq 3a60 <ldm_disk_get_name@plt> 4e1f: 4c 89 ff mov %r15,%rdi 4e22: 48 89 c5 mov %rax,%rbp 4e25: e8 c6 ec ff ff callq 3af0 <ldm_disk_get_guid@plt> 4e2a: 4c 89 ff mov %r15,%rdi 4e2d: 49 89 c6 mov %rax,%r14 4e30: e8 0b e9 ff ff callq 3740 <ldm_disk_get_device@plt> 4e35: 4c 89 ff mov %r15,%rdi 4e38: 49 89 c5 mov %rax,%r13 4e3b: e8 40 e8 ff ff callq 3680 <ldm_disk_get_data_start@plt> 4e40: 4c 89 ff mov %r15,%rdi 4e43: 48 89 44 24 18 mov %rax,0x18(%rsp) 4e48: e8 d3 ec ff ff callq 3b20 <ldm_disk_get_data_size@plt> 4e4d: 4c 89 ff mov %r15,%rdi 4e50: 48 89 44 24 20 mov %rax,0x20(%rsp) 4e55: e8 d6 ea ff ff callq 3930 <ldm_disk_get_metadata_start@plt> 4e5a: 4c 89 ff mov %r15,%rdi 4e5d: 48 89 44 24 28 mov %rax,0x28(%rsp) 4e62: e8 19 e9 ff ff callq 3780 <ldm_disk_get_metadata_size@plt> 4e67: 48 89 ef mov %rbp,%rdi 4e6a: 49 89 c7 mov %rax,%r15 4e6d: 48 8b 44 24 10 mov 0x10(%rsp),%rax 4e72: 48 8b 70 08 mov 0x8(%rax),%rsi 4e76: e8 65 e8 ff ff callq 36e0 <g_strcmp0@plt> 4e7b: 85 c0 test %eax,%eax 4e7d: 0f 85 5d ff ff ff jne 4de0 <ldm_partition_get_name@plt+0x1250> 4e83: 4c 89 e7 mov %r12,%rdi 4e86: e8 65 e8 ff ff callq 36f0 <json_builder_begin_object@plt> 4e8b: 48 8d 35 09 16 00 00 lea 0x1609(%rip),%rsi # 649b <_IO_stdin_used@@Base+0x49b> 4e92: 4c 89 e7 mov %r12,%rdi 4e95: e8 56 eb ff ff callq 39f0 <json_builder_set_member_name@plt> 4e9a: 48 89 ee mov %rbp,%rsi 4e9d: 4c 89 e7 mov %r12,%rdi 4ea0: e8 0b ea ff ff callq 38b0 <json_builder_add_string_value@plt> 4ea5: 48 8d 35 24 16 00 00 lea 0x1624(%rip),%rsi # 64d0 <_IO_stdin_used@@Base+0x4d0> 4eac: 4c 89 e7 mov %r12,%rdi 4eaf: e8 3c eb ff ff callq 39f0 <json_builder_set_member_name@plt> 4eb4: 4c 89 f6 mov %r14,%rsi 4eb7: 4c 89 e7 mov %r12,%rdi 4eba: e8 f1 e9 ff ff callq 38b0 <json_builder_add_string_value@plt> 4ebf: 48 8d 35 42 16 00 00 lea 0x1642(%rip),%rsi # 6508 <_IO_stdin_used@@Base+0x508> 4ec6: 4c 89 e7 mov %r12,%rdi 4ec9: e8 22 eb ff ff callq 39f0 <json_builder_set_member_name@plt> 4ece: 31 f6 xor %esi,%esi 4ed0: 4d 85 ed test %r13,%r13 4ed3: 4c 89 e7 mov %r12,%rdi 4ed6: 40 0f 95 c6 setne %sil 4eda: e8 11 ea ff ff callq 38f0 <json_builder_add_boolean_value@plt> 4edf: 4d 85 ed test %r13,%r13 4ee2: 0f 84 88 00 00 00 je 4f70 <ldm_partition_get_name@plt+0x13e0> 4ee8: 48 8d 35 21 16 00 00 lea 0x1621(%rip),%rsi # 6510 <_IO_stdin_used@@Base+0x510> 4eef: 4c 89 e7 mov %r12,%rdi 4ef2: e8 f9 ea ff ff callq 39f0 <json_builder_set_member_name@plt> 4ef7: 4c 89 ee mov %r13,%rsi 4efa: 4c 89 e7 mov %r12,%rdi 4efd: e8 ae e9 ff ff callq 38b0 <json_builder_add_string_value@plt> 4f02: 48 8d 35 12 16 00 00 lea 0x1612(%rip),%rsi # 651b <_IO_stdin_used@@Base+0x51b> 4f09: 4c 89 e7 mov %r12,%rdi 4f0c: e8 df ea ff ff callq 39f0 <json_builder_set_member_name@plt> 4f11: 48 8b 74 24 18 mov 0x18(%rsp),%rsi 4f16: 4c 89 e7 mov %r12,%rdi 4f19: e8 32 e8 ff ff callq 3750 <json_builder_add_int_value@plt> 4f1e: 48 8d 35 05 16 00 00 lea 0x1605(%rip),%rsi # 652a <_IO_stdin_used@@Base+0x52a> 4f25: 4c 89 e7 mov %r12,%rdi 4f28: e8 c3 ea ff ff callq 39f0 <json_builder_set_member_name@plt> 4f2d: 48 8b 74 24 20 mov 0x20(%rsp),%rsi 4f32: 4c 89 e7 mov %r12,%rdi 4f35: e8 16 e8 ff ff callq 3750 <json_builder_add_int_value@plt> 4f3a: 48 8d 35 d6 15 00 00 lea 0x15d6(%rip),%rsi # 6517 <_IO_stdin_used@@Base+0x517> 4f41: 4c 89 e7 mov %r12,%rdi 4f44: e8 a7 ea ff ff callq 39f0 <json_builder_set_member_name@plt> 4f49: 48 8b 74 24 28 mov 0x28(%rsp),%rsi 4f4e: 4c 89 e7 mov %r12,%rdi 4f51: e8 fa e7 ff ff callq 3750 <json_builder_add_int_value@plt> 4f56: 48 8d 35 c9 15 00 00 lea 0x15c9(%rip),%rsi # 6526 <_IO_stdin_used@@Base+0x526> 4f5d: 4c 89 e7 mov %r12,%rdi 4f60: e8 8b ea ff ff callq 39f0 <json_builder_set_member_name@plt> 4f65: 4c 89 fe mov %r15,%rsi 4f68: 4c 89 e7 mov %r12,%rdi 4f6b: e8 e0 e7 ff ff callq 3750 <json_builder_add_int_value@plt> 4f70: 4c 89 e7 mov %r12,%rdi 4f73: e8 f8 e7 ff ff callq 3770 <json_builder_end_object@plt> 4f78: 48 89 ef mov %rbp,%rdi 4f7b: e8 90 e6 ff ff callq 3610 <g_free@plt> 4f80: 4c 89 f7 mov %r14,%rdi 4f83: e8 88 e6 ff ff callq 3610 <g_free@plt> 4f88: 4c 89 ef mov %r13,%rdi 4f8b: e8 80 e6 ff ff callq 3610 <g_free@plt> 4f90: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 4f95: e8 c6 e7 ff ff callq 3760 <g_array_unref@plt> 4f9a: 48 83 c4 38 add $0x38,%rsp 4f9e: b8 01 00 00 00 mov $0x1,%eax 4fa3: 5b pop %rbx 4fa4: 5d pop %rbp 4fa5: 41 5c pop %r12 4fa7: 41 5d pop %r13 4fa9: 41 5e pop %r14 4fab: 41 5f pop %r15 4fad: c3 retq 4fae: 66 90 xchg %ax,%ax 4fb0: f3 0f 1e fa endbr64 4fb4: 41 55 push %r13 4fb6: 41 54 push %r12 4fb8: 55 push %rbp 4fb9: 53 push %rbx 4fba: 48 83 ec 08 sub $0x8,%rsp 4fbe: 85 f6 test %esi,%esi 4fc0: 0f 84 9a 00 00 00 je 5060 <ldm_partition_get_name@plt+0x14d0> 4fc6: 48 89 fd mov %rdi,%rbp 4fc9: 48 8b 3a mov (%rdx),%rdi 4fcc: 41 89 f4 mov %esi,%r12d 4fcf: 48 8d 35 5e 15 00 00 lea 0x155e(%rip),%rsi # 6534 <_IO_stdin_used@@Base+0x534> 4fd6: 48 89 d3 mov %rdx,%rbx 4fd9: 49 89 cd mov %rcx,%r13 4fdc: e8 ff e6 ff ff callq 36e0 <g_strcmp0@plt> 4fe1: 85 c0 test %eax,%eax 4fe3: 74 5b je 5040 <ldm_partition_get_name@plt+0x14b0> 4fe5: 48 8b 3b mov (%rbx),%rdi 4fe8: 48 8d 35 cc 14 00 00 lea 0x14cc(%rip),%rsi # 64bb <_IO_stdin_used@@Base+0x4bb> 4fef: e8 ec e6 ff ff callq 36e0 <g_strcmp0@plt> 4ff4: 85 c0 test %eax,%eax 4ff6: 0f 84 b4 00 00 00 je 50b0 <ldm_partition_get_name@plt+0x1520> 4ffc: 48 8b 3b mov (%rbx),%rdi 4fff: 48 8d 35 38 15 00 00 lea 0x1538(%rip),%rsi # 653e <_IO_stdin_used@@Base+0x53e> 5006: e8 d5 e6 ff ff callq 36e0 <g_strcmp0@plt> 500b: 85 c0 test %eax,%eax 500d: 74 79 je 5088 <ldm_partition_get_name@plt+0x14f8> 500f: 48 8b 3b mov (%rbx),%rdi 5012: 48 8d 35 ea 14 00 00 lea 0x14ea(%rip),%rsi # 6503 <_IO_stdin_used@@Base+0x503> 5019: e8 c2 e6 ff ff callq 36e0 <g_strcmp0@plt> 501e: 85 c0 test %eax,%eax 5020: 75 3e jne 5060 <ldm_partition_get_name@plt+0x14d0> 5022: 48 83 c4 08 add $0x8,%rsp 5026: 48 8d 53 08 lea 0x8(%rbx),%rdx 502a: 41 8d 74 24 ff lea -0x1(%r12),%esi 502f: 4c 89 e9 mov %r13,%rcx 5032: 5b pop %rbx 5033: 48 89 ef mov %rbp,%rdi 5036: 5d pop %rbp 5037: 41 5c pop %r12 5039: 41 5d pop %r13 503b: e9 10 fd ff ff jmpq 4d50 <ldm_partition_get_name@plt+0x11c0> 5040: 48 83 c4 08 add $0x8,%rsp 5044: 48 8d 53 08 lea 0x8(%rbx),%rdx 5048: 41 8d 74 24 ff lea -0x1(%r12),%esi 504d: 4c 89 e9 mov %r13,%rcx 5050: 5b pop %rbx 5051: 48 89 ef mov %rbp,%rdi 5054: 5d pop %rbp 5055: 41 5c pop %r12 5057: 41 5d pop %r13 5059: e9 d2 f7 ff ff jmpq 4830 <ldm_partition_get_name@plt+0xca0> 505e: 66 90 xchg %ax,%ax 5060: 31 c0 xor %eax,%eax 5062: 48 8d 15 0f 10 00 00 lea 0x100f(%rip),%rdx # 6078 <_IO_stdin_used@@Base+0x78> 5069: be 10 00 00 00 mov $0x10,%esi 506e: 31 ff xor %edi,%edi 5070: e8 eb ea ff ff callq 3b60 <g_log@plt> 5075: 48 83 c4 08 add $0x8,%rsp 5079: 31 c0 xor %eax,%eax 507b: 5b pop %rbx 507c: 5d pop %rbp 507d: 41 5c pop %r12 507f: 41 5d pop %r13 5081: c3 retq 5082: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 5088: 48 83 c4 08 add $0x8,%rsp 508c: 48 8d 53 08 lea 0x8(%rbx),%rdx 5090: 41 8d 74 24 ff lea -0x1(%r12),%esi 5095: 4c 89 e9 mov %r13,%rcx 5098: 5b pop %rbx 5099: 48 89 ef mov %rbp,%rdi 509c: 5d pop %rbp 509d: 41 5c pop %r12 509f: 41 5d pop %r13 50a1: e9 fa fa ff ff jmpq 4ba0 <ldm_partition_get_name@plt+0x1010> 50a6: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 50b0: 48 83 c4 08 add $0x8,%rsp 50b4: 48 8d 53 08 lea 0x8(%rbx),%rdx 50b8: 41 8d 74 24 ff lea -0x1(%r12),%esi 50bd: 4c 89 e9 mov %r13,%rcx 50c0: 5b pop %rbx 50c1: 48 89 ef mov %rbp,%rdi 50c4: 5d pop %rbp 50c5: 41 5c pop %r12 50c7: 41 5d pop %r13 50c9: e9 72 f8 ff ff jmpq 4940 <ldm_partition_get_name@plt+0xdb0> 50ce: 66 90 xchg %ax,%ax 50d0: f3 0f 1e fa endbr64 50d4: 41 57 push %r15 50d6: 49 89 cf mov %rcx,%r15 50d9: b9 7e 00 00 00 mov $0x7e,%ecx 50de: 66 0f ef c0 pxor %xmm0,%xmm0 50e2: 41 56 push %r14 50e4: 49 89 d6 mov %rdx,%r14 50e7: 41 55 push %r13 50e9: 41 54 push %r12 50eb: 55 push %rbp 50ec: 53 push %rbx 50ed: 48 81 ec 48 04 00 00 sub $0x448,%rsp 50f4: 48 89 3c 24 mov %rdi,(%rsp) 50f8: 48 8d 7c 24 40 lea 0x40(%rsp),%rdi 50fd: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 5106: 48 89 84 24 38 04 00 00 mov %rax,0x438(%rsp) 510e: 31 c0 xor %eax,%eax 5110: 48 8d 05 3a 14 00 00 lea 0x143a(%rip),%rax # 6551 <_IO_stdin_used@@Base+0x551> 5117: 0f 29 44 24 30 movaps %xmm0,0x30(%rsp) 511c: 48 89 05 fd 3e 00 00 mov %rax,0x3efd(%rip) # 9020 <rl_readline_name> 5123: 31 c0 xor %eax,%eax 5125: f3 48 ab rep stos %rax,%es:(%rdi) 5128: 48 8d 3d 19 14 00 00 lea 0x1419(%rip),%rdi # 6548 <_IO_stdin_used@@Base+0x548> 512f: e8 4c e8 ff ff callq 3980 <getenv@plt> 5134: 48 85 c0 test %rax,%rax 5137: 74 40 je 5179 <ldm_partition_get_name@plt+0x15e9> return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 5139: 4c 8d 64 24 30 lea 0x30(%rsp),%r12 513e: 49 89 c1 mov %rax,%r9 5141: b9 00 04 00 00 mov $0x400,%ecx 5146: 31 c0 xor %eax,%eax 5148: 4c 89 e7 mov %r12,%rdi 514b: ba 01 00 00 00 mov $0x1,%edx 5150: be 00 04 00 00 mov $0x400,%esi 5155: 4c 8d 05 f1 13 00 00 lea 0x13f1(%rip),%r8 # 654d <_IO_stdin_used@@Base+0x54d> 515c: e8 4f e9 ff ff callq 3ab0 <__snprintf_chk@plt> 5161: e8 1a e9 ff ff callq 3a80 <using_history@plt> 5166: 4c 89 e7 mov %r12,%rdi 5169: e8 a2 e5 ff ff callq 3710 <read_history@plt> 516e: a9 fd ff ff ff test $0xfffffffd,%eax 5173: 0f 85 b6 02 00 00 jne 542f <ldm_partition_get_name@plt+0x189f> 5179: e8 f2 e8 ff ff callq 3a70 <json_builder_new@plt> 517e: 31 ed xor %ebp,%ebp 5180: 48 8d 5c 24 20 lea 0x20(%rsp),%rbx 5185: 49 89 c4 mov %rax,%r12 5188: 0f 1f 84 00 00 00 00 00 nopl 0x0(%rax,%rax,1) 5190: 48 8d 3d c2 13 00 00 lea 0x13c2(%rip),%rdi # 6559 <_IO_stdin_used@@Base+0x559> 5197: e8 04 e8 ff ff callq 39a0 <readline@plt> 519c: 49 89 c5 mov %rax,%r13 519f: 48 85 c0 test %rax,%rax 51a2: 0f 84 c8 01 00 00 je 5370 <ldm_partition_get_name@plt+0x17e0> 51a8: 48 8d 54 24 28 lea 0x28(%rsp),%rdx 51ad: 48 8d 74 24 18 lea 0x18(%rsp),%rsi 51b2: 48 89 d9 mov %rbx,%rcx 51b5: 48 89 c7 mov %rax,%rdi 51b8: 48 c7 44 24 20 00 00 00 00 movq $0x0,0x20(%rsp) 51c1: c7 44 24 18 00 00 00 00 movl $0x0,0x18(%rsp) 51c9: 48 c7 44 24 28 00 00 00 00 movq $0x0,0x28(%rsp) 51d2: e8 89 e4 ff ff callq 3660 <g_shell_parse_argv@plt> 51d7: 85 c0 test %eax,%eax 51d9: 74 75 je 5250 <ldm_partition_get_name@plt+0x16c0> 51db: 8b 74 24 18 mov 0x18(%rsp),%esi 51df: 4c 89 ef mov %r13,%rdi 51e2: 85 f6 test %esi,%esi 51e4: 0f 84 c2 00 00 00 je 52ac <ldm_partition_get_name@plt+0x171c> 51ea: e8 41 e9 ff ff callq 3b30 <add_history@plt> 51ef: 4c 89 ef mov %r13,%rdi 51f2: 83 c5 01 add $0x1,%ebp 51f5: e8 06 e6 ff ff callq 3800 <free@plt> 51fa: 48 8d 4c 24 1c lea 0x1c(%rsp),%rcx 51ff: 4d 89 f1 mov %r14,%r9 5202: 4d 89 f8 mov %r15,%r8 5205: c7 44 24 1c 00 00 00 00 movl $0x0,0x1c(%rsp) 520d: 48 83 ec 08 sub $0x8,%rsp 5211: 41 54 push %r12 5213: 48 8b 54 24 38 mov 0x38(%rsp),%rdx 5218: 8b 74 24 28 mov 0x28(%rsp),%esi 521c: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 5221: e8 3a ed ff ff callq 3f60 <ldm_partition_get_name@plt+0x3d0> 5226: 5a pop %rdx 5227: 59 pop %rcx 5228: 85 c0 test %eax,%eax 522a: 0f 84 90 00 00 00 je 52c0 <ldm_partition_get_name@plt+0x1730> 5230: 8b 44 24 1c mov 0x1c(%rsp),%eax 5234: 85 c0 test %eax,%eax 5236: 0f 85 fc 00 00 00 jne 5338 <ldm_partition_get_name@plt+0x17a8> 523c: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 5241: e8 8a e8 ff ff callq 3ad0 <g_strfreev@plt> 5246: e9 45 ff ff ff jmpq 5190 <ldm_partition_get_name@plt+0x1600> 524b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 5250: 48 8b 44 24 20 mov 0x20(%rsp),%rax 5255: 8b 00 mov (%rax),%eax 5257: 89 44 24 0c mov %eax,0xc(%rsp) 525b: e8 70 e5 ff ff callq 37d0 <g_shell_error_quark@plt> 5260: 48 8b 7c 24 20 mov 0x20(%rsp),%rdi 5265: 39 44 24 0c cmp %eax,0xc(%rsp) 5269: 75 06 jne 5271 <ldm_partition_get_name@plt+0x16e1> 526b: 83 7f 04 01 cmpl $0x1,0x4(%rdi) 526f: 74 1e je 528f <ldm_partition_get_name@plt+0x16ff> 5271: 48 8b 4f 08 mov 0x8(%rdi),%rcx 5275: 48 8d 15 e3 12 00 00 lea 0x12e3(%rip),%rdx # 655f <_IO_stdin_used@@Base+0x55f> 527c: 31 ff xor %edi,%edi 527e: be 10 00 00 00 mov $0x10,%esi 5283: 31 c0 xor %eax,%eax 5285: e8 d6 e8 ff ff callq 3b60 <g_log@plt> 528a: 48 8b 7c 24 20 mov 0x20(%rsp),%rdi 528f: e8 2c e8 ff ff callq 3ac0 <g_error_free@plt> 5294: 8b 74 24 18 mov 0x18(%rsp),%esi 5298: 4c 89 ef mov %r13,%rdi 529b: 48 c7 44 24 20 00 00 00 00 movq $0x0,0x20(%rsp) 52a4: 85 f6 test %esi,%esi 52a6: 0f 85 3e ff ff ff jne 51ea <ldm_partition_get_name@plt+0x165a> 52ac: e8 4f e5 ff ff callq 3800 <free@plt> 52b1: e9 da fe ff ff jmpq 5190 <ldm_partition_get_name@plt+0x1600> 52b6: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 52c0: 48 8b 44 24 28 mov 0x28(%rsp),%rax 52c5: 48 8d 3d ad 12 00 00 lea 0x12ad(%rip),%rdi # 6579 <_IO_stdin_used@@Base+0x579> 52cc: 48 8b 30 mov (%rax),%rsi 52cf: e8 0c e4 ff ff callq 36e0 <g_strcmp0@plt> 52d4: 85 c0 test %eax,%eax 52d6: 0f 84 44 01 00 00 je 5420 <ldm_partition_get_name@plt+0x1890> 52dc: 48 8b 44 24 28 mov 0x28(%rsp),%rax 52e1: 48 8d 3d 96 12 00 00 lea 0x1296(%rip),%rdi # 657e <_IO_stdin_used@@Base+0x57e> 52e8: 48 8b 30 mov (%rax),%rsi 52eb: e8 f0 e3 ff ff callq 36e0 <g_strcmp0@plt> 52f0: 85 c0 test %eax,%eax 52f2: 0f 84 28 01 00 00 je 5420 <ldm_partition_get_name@plt+0x1890> 52f8: 48 8b 44 24 28 mov 0x28(%rsp),%rax 52fd: 48 8d 3d 7f 12 00 00 lea 0x127f(%rip),%rdi # 6583 <_IO_stdin_used@@Base+0x583> 5304: 48 8b 30 mov (%rax),%rsi 5307: e8 d4 e3 ff ff callq 36e0 <g_strcmp0@plt> 530c: 85 c0 test %eax,%eax 530e: 75 38 jne 5348 <ldm_partition_get_name@plt+0x17b8> return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); 5310: 48 8d 15 71 0e 00 00 lea 0xe71(%rip),%rdx # 6188 <_IO_stdin_used@@Base+0x188> 5317: 48 8d 35 6a 12 00 00 lea 0x126a(%rip),%rsi # 6588 <_IO_stdin_used@@Base+0x588> 531e: bf 01 00 00 00 mov $0x1,%edi 5323: e8 d8 e3 ff ff callq 3700 <__printf_chk@plt> 5328: 8b 44 24 1c mov 0x1c(%rsp),%eax 532c: 85 c0 test %eax,%eax 532e: 0f 84 08 ff ff ff je 523c <ldm_partition_get_name@plt+0x16ac> 5334: 0f 1f 40 00 nopl 0x0(%rax) 5338: 4c 89 e7 mov %r12,%rdi 533b: e8 f0 e6 ff ff callq 3a30 <json_builder_reset@plt> 5340: e9 f7 fe ff ff jmpq 523c <ldm_partition_get_name@plt+0x16ac> 5345: 0f 1f 00 nopl (%rax) 5348: 48 8b 44 24 28 mov 0x28(%rsp),%rax 534d: 48 8d 35 3f 12 00 00 lea 0x123f(%rip),%rsi # 6593 <_IO_stdin_used@@Base+0x593> 5354: bf 01 00 00 00 mov $0x1,%edi 5359: 48 8b 10 mov (%rax),%rdx 535c: 31 c0 xor %eax,%eax 535e: e8 9d e3 ff ff callq 3700 <__printf_chk@plt> 5363: e9 c8 fe ff ff jmpq 5230 <ldm_partition_get_name@plt+0x16a0> 5368: 0f 1f 84 00 00 00 00 00 nopl 0x0(%rax,%rax,1) 5370: bf 0a 00 00 00 mov $0xa,%edi 5375: e8 a6 e3 ff ff callq 3720 <putchar@plt> 537a: 4c 89 e7 mov %r12,%rdi 537d: e8 4e e3 ff ff callq 36d0 <g_object_unref@plt> 5382: 80 7c 24 30 00 cmpb $0x0,0x30(%rsp) 5387: 75 37 jne 53c0 <ldm_partition_get_name@plt+0x1830> 5389: 48 8b 84 24 38 04 00 00 mov 0x438(%rsp),%rax 5391: 64 48 33 04 25 28 00 00 00 xor %fs:0x28,%rax 539a: 0f 85 d3 00 00 00 jne 5473 <ldm_partition_get_name@plt+0x18e3> 53a0: 48 81 c4 48 04 00 00 add $0x448,%rsp 53a7: b8 01 00 00 00 mov $0x1,%eax 53ac: 5b pop %rbx 53ad: 5d pop %rbp 53ae: 41 5c pop %r12 53b0: 41 5d pop %r13 53b2: 41 5e pop %r14 53b4: 41 5f pop %r15 53b6: c3 retq 53b7: 66 0f 1f 84 00 00 00 00 00 nopw 0x0(%rax,%rax,1) objdump: Warning: source file /usr/include/x86_64-linux-gnu/bits/fcntl2.h is more recent than object file if (__OPEN_NEEDS_MODE (__oflag) && __va_arg_pack_len () < 1) { __open_missing_mode (); return __open_2 (__path, __oflag); } return __open_alias (__path, __oflag, __va_arg_pack ()); 53c0: 4c 8d 64 24 30 lea 0x30(%rsp),%r12 53c5: ba 80 01 00 00 mov $0x180,%edx 53ca: be 41 01 08 00 mov $0x80141,%esi 53cf: 31 c0 xor %eax,%eax 53d1: 4c 89 e7 mov %r12,%rdi 53d4: e8 a7 e7 ff ff callq 3b80 <open@plt> 53d9: 89 c7 mov %eax,%edi 53db: 83 f8 ff cmp $0xffffffff,%eax 53de: 74 76 je 5456 <ldm_partition_get_name@plt+0x18c6> 53e0: e8 8b e2 ff ff callq 3670 <close@plt> 53e5: 4c 89 e6 mov %r12,%rsi 53e8: 89 ef mov %ebp,%edi 53ea: e8 a1 e5 ff ff callq 3990 <append_history@plt> 53ef: 85 c0 test %eax,%eax 53f1: 74 96 je 5389 <ldm_partition_get_name@plt+0x17f9> 53f3: 89 c7 mov %eax,%edi 53f5: e8 e6 e4 ff ff callq 38e0 <strerror@plt> 53fa: 4c 89 e1 mov %r12,%rcx 53fd: be 10 00 00 00 mov $0x10,%esi 5402: 31 ff xor %edi,%edi 5404: 49 89 c0 mov %rax,%r8 5407: 48 8d 15 b2 0e 00 00 lea 0xeb2(%rip),%rdx # 62c0 <_IO_stdin_used@@Base+0x2c0> 540e: 31 c0 xor %eax,%eax 5410: e8 4b e7 ff ff callq 3b60 <g_log@plt> 5415: e9 6f ff ff ff jmpq 5389 <ldm_partition_get_name@plt+0x17f9> 541a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 5420: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 5425: e8 a6 e6 ff ff callq 3ad0 <g_strfreev@plt> 542a: e9 4b ff ff ff jmpq 537a <ldm_partition_get_name@plt+0x17ea> 542f: 89 c7 mov %eax,%edi 5431: e8 aa e4 ff ff callq 38e0 <strerror@plt> 5436: 4c 89 e1 mov %r12,%rcx 5439: be 10 00 00 00 mov $0x10,%esi 543e: 31 ff xor %edi,%edi 5440: 49 89 c0 mov %rax,%r8 5443: 48 8d 15 16 0d 00 00 lea 0xd16(%rip),%rdx # 6160 <_IO_stdin_used@@Base+0x160> 544a: 31 c0 xor %eax,%eax 544c: e8 0f e7 ff ff callq 3b60 <g_log@plt> 5451: e9 23 fd ff ff jmpq 5179 <ldm_partition_get_name@plt+0x15e9> 5456: 4c 89 e1 mov %r12,%rcx 5459: 48 8d 15 38 0e 00 00 lea 0xe38(%rip),%rdx # 6298 <_IO_stdin_used@@Base+0x298> 5460: 31 ff xor %edi,%edi 5462: 31 c0 xor %eax,%eax 5464: be 10 00 00 00 mov $0x10,%esi 5469: e8 f2 e6 ff ff callq 3b60 <g_log@plt> 546e: e9 16 ff ff ff jmpq 5389 <ldm_partition_get_name@plt+0x17f9> 5473: e8 58 e5 ff ff callq 39d0 <__stack_chk_fail@plt> 5478: 0f 1f 84 00 00 00 00 00 nopl 0x0(%rax,%rax,1) 5480: f3 0f 1e fa endbr64 5484: 41 55 push %r13 5486: 48 8d 3d 20 11 00 00 lea 0x1120(%rip),%rdi # 65ad <_IO_stdin_used@@Base+0x5ad> 548d: 41 54 push %r12 548f: 55 push %rbp 5490: 53 push %rbx 5491: 48 83 ec 18 sub $0x18,%rsp 5495: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 549e: 48 89 44 24 08 mov %rax,0x8(%rsp) 54a3: 31 c0 xor %eax,%eax 54a5: e8 76 e3 ff ff callq 3820 <opendir@plt> 54aa: 48 85 c0 test %rax,%rax 54ad: 0f 84 dd 00 00 00 je 5590 <ldm_partition_get_name@plt+0x1a00> 54b3: ba 08 00 00 00 mov $0x8,%edx 54b8: 31 f6 xor %esi,%esi 54ba: bf 01 00 00 00 mov $0x1,%edi 54bf: 48 89 c5 mov %rax,%rbp 54c2: e8 69 e2 ff ff callq 3730 <g_array_new@plt> 54c7: 48 8d 35 02 ea ff ff lea -0x15fe(%rip),%rsi # 3ed0 <ldm_partition_get_name@plt+0x340> # ifdef __va_arg_pack __fortify_function int __NTH (asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...)) { return __asprintf_chk (__ptr, __USE_FORTIFY_LEVEL - 1, __fmt, 54ce: 48 89 e3 mov %rsp,%rbx 54d1: 48 89 c7 mov %rax,%rdi 54d4: 49 89 c5 mov %rax,%r13 54d7: e8 34 e5 ff ff callq 3a10 <g_array_set_clear_func@plt> 54dc: 48 89 ef mov %rbp,%rdi 54df: e8 7c e3 ff ff callq 3860 <readdir@plt> 54e4: 48 85 c0 test %rax,%rax 54e7: 74 65 je 554e <ldm_partition_get_name@plt+0x19be> 54e9: 4c 8d 60 13 lea 0x13(%rax),%r12 54ed: 48 8d 35 e3 10 00 00 lea 0x10e3(%rip),%rsi # 65d7 <_IO_stdin_used@@Base+0x5d7> 54f4: 4c 89 e7 mov %r12,%rdi 54f7: e8 e4 e1 ff ff callq 36e0 <g_strcmp0@plt> 54fc: 85 c0 test %eax,%eax 54fe: 74 dc je 54dc <ldm_partition_get_name@plt+0x194c> 5500: 48 8d 35 cf 10 00 00 lea 0x10cf(%rip),%rsi # 65d6 <_IO_stdin_used@@Base+0x5d6> 5507: 4c 89 e7 mov %r12,%rdi 550a: e8 d1 e1 ff ff callq 36e0 <g_strcmp0@plt> 550f: 85 c0 test %eax,%eax 5511: 74 c9 je 54dc <ldm_partition_get_name@plt+0x194c> 5513: 31 c0 xor %eax,%eax 5515: 4c 89 e1 mov %r12,%rcx 5518: 48 8d 15 ba 10 00 00 lea 0x10ba(%rip),%rdx # 65d9 <_IO_stdin_used@@Base+0x5d9> 551f: 48 89 df mov %rbx,%rdi 5522: be 01 00 00 00 mov $0x1,%esi 5527: e8 e4 e2 ff ff callq 3810 <__asprintf_chk@plt> 552c: 83 f8 ff cmp $0xffffffff,%eax 552f: 74 43 je 5574 <ldm_partition_get_name@plt+0x19e4> 5531: 4c 89 ef mov %r13,%rdi 5534: ba 01 00 00 00 mov $0x1,%edx 5539: 48 89 de mov %rbx,%rsi 553c: e8 0f e6 ff ff callq 3b50 <g_array_append_vals@plt> 5541: 48 89 ef mov %rbp,%rdi 5544: e8 17 e3 ff ff callq 3860 <readdir@plt> 5549: 48 85 c0 test %rax,%rax 554c: 75 9b jne 54e9 <ldm_partition_get_name@plt+0x1959> 554e: 48 89 ef mov %rbp,%rdi 5551: e8 4a e5 ff ff callq 3aa0 <closedir@plt> 5556: 48 8b 44 24 08 mov 0x8(%rsp),%rax 555b: 64 48 33 04 25 28 00 00 00 xor %fs:0x28,%rax 5564: 75 44 jne 55aa <ldm_partition_get_name@plt+0x1a1a> 5566: 48 83 c4 18 add $0x18,%rsp 556a: 4c 89 e8 mov %r13,%rax 556d: 5b pop %rbx 556e: 5d pop %rbp 556f: 41 5c pop %r12 5571: 41 5d pop %r13 5573: c3 retq 5574: 48 8d 15 66 10 00 00 lea 0x1066(%rip),%rdx # 65e1 <_IO_stdin_used@@Base+0x5e1> 557b: be 04 00 00 00 mov $0x4,%esi 5580: 31 ff xor %edi,%edi 5582: 31 c0 xor %eax,%eax 5584: e8 d7 e5 ff ff callq 3b60 <g_log@plt> 5589: eb fe jmp 5589 <ldm_partition_get_name@plt+0x19f9> 558b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 5590: 48 8d 15 21 10 00 00 lea 0x1021(%rip),%rdx # 65b8 <_IO_stdin_used@@Base+0x5b8> 5597: be 10 00 00 00 mov $0x10,%esi 559c: 31 ff xor %edi,%edi 559e: 31 c0 xor %eax,%eax 55a0: e8 bb e5 ff ff callq 3b60 <g_log@plt> 55a5: 45 31 ed xor %r13d,%r13d 55a8: eb ac jmp 5556 <ldm_partition_get_name@plt+0x19c6> 55aa: e8 21 e4 ff ff callq 39d0 <__stack_chk_fail@plt> 55af: 90 nop 55b0: f3 0f 1e fa endbr64 55b4: 41 57 push %r15 55b6: 49 89 d7 mov %rdx,%r15 55b9: 41 56 push %r14 55bb: 49 89 ce mov %rcx,%r14 55be: 41 55 push %r13 55c0: 45 89 c5 mov %r8d,%r13d 55c3: 41 54 push %r12 55c5: 55 push %rbp 55c6: 48 89 fd mov %rdi,%rbp 55c9: 53 push %rbx 55ca: 4c 89 cb mov %r9,%rbx 55cd: 48 83 ec 28 sub $0x28,%rsp 55d1: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 55da: 48 89 44 24 18 mov %rax,0x18(%rsp) 55df: 31 c0 xor %eax,%eax 55e1: 48 85 f6 test %rsi,%rsi 55e4: 0f 84 b6 00 00 00 je 56a0 <ldm_partition_get_name@plt+0x1b10> 55ea: 48 89 f7 mov %rsi,%rdi 55ed: 49 89 f4 mov %rsi,%r12 55f0: e8 cb e1 ff ff callq 37c0 <g_strv_length@plt> 55f5: 45 31 c0 xor %r8d,%r8d 55f8: 4c 89 e1 mov %r12,%rcx 55fb: be 01 00 00 00 mov $0x1,%esi 5600: 89 c2 mov %eax,%edx 5602: 48 89 ef mov %rbp,%rdi 5605: e8 c6 ea ff ff callq 40d0 <ldm_partition_get_name@plt+0x540> 560a: 85 c0 test %eax,%eax 560c: 74 67 je 5675 <ldm_partition_get_name@plt+0x1ae5> 560e: e8 5d e4 ff ff callq 3a70 <json_builder_new@plt> 5613: 48 8d 4c 24 14 lea 0x14(%rsp),%rcx 5618: 48 89 da mov %rbx,%rdx 561b: 4d 89 f9 mov %r15,%r9 561e: 48 83 ec 08 sub $0x8,%rsp 5622: 4d 89 f0 mov %r14,%r8 5625: 44 89 ee mov %r13d,%esi 5628: 48 89 ef mov %rbp,%rdi 562b: 50 push %rax 562c: 49 89 c4 mov %rax,%r12 562f: e8 2c e9 ff ff callq 3f60 <ldm_partition_get_name@plt+0x3d0> 5634: 5a pop %rdx 5635: 59 pop %rcx 5636: 85 c0 test %eax,%eax 5638: 74 16 je 5650 <ldm_partition_get_name@plt+0x1ac0> 563a: 4c 89 e7 mov %r12,%rdi 563d: e8 8e e0 ff ff callq 36d0 <g_object_unref@plt> 5642: 8b 44 24 14 mov 0x14(%rsp),%eax 5646: eb 2f jmp 5677 <ldm_partition_get_name@plt+0x1ae7> 5648: 0f 1f 84 00 00 00 00 00 nopl 0x0(%rax,%rax,1) 5650: 48 8b 0b mov (%rbx),%rcx 5653: 48 8d 15 a2 0f 00 00 lea 0xfa2(%rip),%rdx # 65fc <_IO_stdin_used@@Base+0x5fc> 565a: 31 ff xor %edi,%edi 565c: 31 c0 xor %eax,%eax 565e: be 10 00 00 00 mov $0x10,%esi 5663: e8 f8 e4 ff ff callq 3b60 <g_log@plt> 5668: 4d 85 e4 test %r12,%r12 566b: 74 08 je 5675 <ldm_partition_get_name@plt+0x1ae5> 566d: 4c 89 e7 mov %r12,%rdi 5670: e8 5b e0 ff ff callq 36d0 <g_object_unref@plt> 5675: 31 c0 xor %eax,%eax 5677: 48 8b 5c 24 18 mov 0x18(%rsp),%rbx 567c: 64 48 33 1c 25 28 00 00 00 xor %fs:0x28,%rbx 5685: 75 5e jne 56e5 <ldm_partition_get_name@plt+0x1b55> 5687: 48 83 c4 28 add $0x28,%rsp 568b: 5b pop %rbx 568c: 5d pop %rbp 568d: 41 5c pop %r12 568f: 41 5d pop %r13 5691: 41 5e pop %r14 5693: 41 5f pop %r15 5695: c3 retq 5696: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 56a0: e8 db fd ff ff callq 5480 <ldm_partition_get_name@plt+0x18f0> 56a5: 4c 8b 20 mov (%rax),%r12 56a8: 48 89 44 24 08 mov %rax,0x8(%rsp) 56ad: 4c 89 e7 mov %r12,%rdi 56b0: e8 0b e1 ff ff callq 37c0 <g_strv_length@plt> 56b5: 45 31 c0 xor %r8d,%r8d 56b8: 4c 89 e1 mov %r12,%rcx 56bb: be 01 00 00 00 mov $0x1,%esi 56c0: 89 c2 mov %eax,%edx 56c2: 48 89 ef mov %rbp,%rdi 56c5: e8 06 ea ff ff callq 40d0 <ldm_partition_get_name@plt+0x540> 56ca: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 56cf: 85 c0 test %eax,%eax 56d1: 75 17 jne 56ea <ldm_partition_get_name@plt+0x1b5a> 56d3: 4c 89 d7 mov %r10,%rdi 56d6: 89 44 24 08 mov %eax,0x8(%rsp) 56da: e8 81 e0 ff ff callq 3760 <g_array_unref@plt> 56df: 8b 44 24 08 mov 0x8(%rsp),%eax 56e3: eb 92 jmp 5677 <ldm_partition_get_name@plt+0x1ae7> 56e5: e8 e6 e2 ff ff callq 39d0 <__stack_chk_fail@plt> 56ea: 4c 89 54 24 08 mov %r10,0x8(%rsp) 56ef: e8 7c e3 ff ff callq 3a70 <json_builder_new@plt> 56f4: 48 8d 4c 24 14 lea 0x14(%rsp),%rcx 56f9: 4d 89 f0 mov %r14,%r8 56fc: 48 89 ef mov %rbp,%rdi 56ff: 56 push %rsi 5700: 4d 89 f9 mov %r15,%r9 5703: 48 89 da mov %rbx,%rdx 5706: 44 89 ee mov %r13d,%esi 5709: 50 push %rax 570a: 49 89 c4 mov %rax,%r12 570d: e8 4e e8 ff ff callq 3f60 <ldm_partition_get_name@plt+0x3d0> 5712: 5f pop %rdi 5713: 41 58 pop %r8 5715: 85 c0 test %eax,%eax 5717: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 571c: 74 19 je 5737 <ldm_partition_get_name@plt+0x1ba7> 571e: 4c 89 d7 mov %r10,%rdi 5721: e8 3a e0 ff ff callq 3760 <g_array_unref@plt> 5726: 4c 89 e7 mov %r12,%rdi 5729: e8 a2 df ff ff callq 36d0 <g_object_unref@plt> 572e: 8b 44 24 14 mov 0x14(%rsp),%eax 5732: e9 40 ff ff ff jmpq 5677 <ldm_partition_get_name@plt+0x1ae7> 5737: 48 8b 0b mov (%rbx),%rcx 573a: 31 ff xor %edi,%edi 573c: 48 8d 15 b9 0e 00 00 lea 0xeb9(%rip),%rdx # 65fc <_IO_stdin_used@@Base+0x5fc> 5743: 31 c0 xor %eax,%eax 5745: be 10 00 00 00 mov $0x10,%esi 574a: 4c 89 54 24 08 mov %r10,0x8(%rsp) 574f: e8 0c e4 ff ff callq 3b60 <g_log@plt> 5754: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 5759: 4c 89 d7 mov %r10,%rdi 575c: e8 ff df ff ff callq 3760 <g_array_unref@plt> 5761: e9 02 ff ff ff jmpq 5668 <ldm_partition_get_name@plt+0x1ad8> 5766: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 5770: f3 0f 1e fa endbr64 5774: 41 57 push %r15 5776: 4c 8d 3d 33 32 00 00 lea 0x3233(%rip),%r15 # 89b0 <_IO_stdin_used@@Base+0x29b0> 577d: 41 56 push %r14 577f: 49 89 d6 mov %rdx,%r14 5782: 41 55 push %r13 5784: 49 89 f5 mov %rsi,%r13 5787: 41 54 push %r12 5789: 41 89 fc mov %edi,%r12d 578c: 55 push %rbp 578d: 48 8d 2d 24 32 00 00 lea 0x3224(%rip),%rbp # 89b8 <_IO_stdin_used@@Base+0x29b8> 5794: 53 push %rbx 5795: 4c 29 fd sub %r15,%rbp 5798: 48 83 ec 08 sub $0x8,%rsp 579c: e8 5f d8 ff ff callq 3000 <__cxa_finalize@plt-0x5e0> 57a1: 48 c1 fd 03 sar $0x3,%rbp 57a5: 74 1f je 57c6 <ldm_partition_get_name@plt+0x1c36> 57a7: 31 db xor %ebx,%ebx 57a9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 57b0: 4c 89 f2 mov %r14,%rdx 57b3: 4c 89 ee mov %r13,%rsi 57b6: 44 89 e7 mov %r12d,%edi 57b9: 41 ff 14 df callq *(%r15,%rbx,8) 57bd: 48 83 c3 01 add $0x1,%rbx 57c1: 48 39 dd cmp %rbx,%rbp 57c4: 75 ea jne 57b0 <ldm_partition_get_name@plt+0x1c20> 57c6: 48 83 c4 08 add $0x8,%rsp 57ca: 5b pop %rbx 57cb: 5d pop %rbp 57cc: 41 5c pop %r12 57ce: 41 5d pop %r13 57d0: 41 5e pop %r14 57d2: 41 5f pop %r15 57d4: c3 retq 57d5: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 57e0: f3 0f 1e fa endbr64 57e4: c3 retq Disassembly of section .fini: 00000000000057e8 <.fini>: 57e8: f3 0f 1e fa endbr64 57ec: 48 83 ec 08 sub $0x8,%rsp 57f0: 48 83 c4 08 add $0x8,%rsp 57f4: c3
If /sys/block can not be opened, get_devices() returns NULL. cmdline() does not check this result and below code snippet: scanned = get_devices(); devices = (gchar **) scanned->data; results in a segmentation fault. Add a check on scanned. Relevant logs: Unable to open /sys/block: No such file or directory [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] [ 0.778278] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 Fixes: 25d9635e4ee5 ("Add ldmtool") Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> --- This thread did not yet show-up in https://listman.redhat.com/archives/libguestfs/2023-June/subject.html not sure why. For this reason, I couln't add a link reference. --- src/ldmtool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ldmtool.c b/src/ldmtool.c index 6957c1a..87aaccc 100644 --- a/src/ldmtool.c +++ b/src/ldmtool.c @@ -746,6 +746,8 @@ cmdline(LDM * const ldm, gchar **devices, GArray * scanned = NULL; if (!devices) { scanned = get_devices(); + if (!scanned) + goto error; devices = (gchar **) scanned->data; } -- 2.25.1
On 6/19/23 16:36, Vincent Mailhol wrote:
If /sys/block can not be opened, get_devices() returns NULL.
cmdline() does not check this result and below code snippet:
scanned = get_devices(); devices = (gchar **) scanned->data;
results in a segmentation fault.
Add a check on scanned.
Relevant logs:
Unable to open /sys/block: No such file or directory [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] [ 0.778278] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1
Fixes: 25d9635e4ee5 ("Add ldmtool") Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> --- This thread did not yet show-up in https://listman.redhat.com/archives/libguestfs/2023-June/subject.html not sure why.
For this reason, I couln't add a link reference. --- src/ldmtool.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/ldmtool.c b/src/ldmtool.c index 6957c1a..87aaccc 100644 --- a/src/ldmtool.c +++ b/src/ldmtool.c @@ -746,6 +746,8 @@ cmdline(LDM * const ldm, gchar **devices, GArray * scanned = NULL; if (!devices) { scanned = get_devices(); + if (!scanned) + goto error; devices = (gchar **) scanned->data; }
(I'm reviewing this against commit 5014da5b9071, in repository <https://github.com/mdbooth/libldm.git>.) This fix is almost right, but not entirely. Consider what we have under the "error" label: error: if (scanned) g_array_unref(scanned); if (jb) g_object_unref(jb); return FALSE; When we jump to "error" on the new branch, "scanned" is is NULL, so that is safe. However, the JsonBuilder *jb = NULL; line has not been reached yet, and that's a problem, because g_object_unref() will receive an indeterminate value (undefined behavior). (In fact, just *evaluating* "jb" as the controlling expression of the "if" that is supposed to protect g_object_unref() is *already* undefined behavior.) According to C99 6.8 "Statements and blocks" paragraph 3, A /block/ allows a set of declarations and statements to be grouped into one syntactic unit. The initializers of objects that have automatic storage duration [...] are evaluated and the values are stored in the objects (including storing an indeterminate value in objects without an initializer) each time the declaration is reached in the order of execution, as if it were a statement, and within each declaration in the order that declarators appear. Furthermore, C99 6.8.4.2 "The switch statement" paragraph 7 provides the following example: In the artificial program fragment switch (expr) { int i = 4; f(i); case 0: i = 17; /* falls through into default code */ default: printf("%d\n", i); } the object whose identifier is *i* exists with automatic storage duration (within the block) but is never initialized, and thus if the controlling expression has a nonzero value, the call to the *printf* function will access an indeterminate value. Similarly, the call to the function *f* cannot be reached. Thus, you can do one of two things (at least): - *In addition* to the current contents of the patch, move the declaration of "jb", together with its NULL initializer, to the top of the function (just below that of "scanned"). This makes sure that the new jump to "error" will still "pass" a well-defined "jb" value (NULL), which the logic at the "error" label handles well. - Alternatively: replace "goto error" with just "return FALSE" in your patch. At that point, there is nothing to release yet. Laszlo
From: Vincent Mailhol <vincent.mailhol@woven.toyota> If /sys/block can not be opened, get_devices() returns NULL. cmdline() does not check this result and below code snippet: scanned = get_devices(); devices = (gchar **) scanned->data; results in a segmentation fault. Add a check on scanned. Relevant logs: Unable to open /sys/block: No such file or directory [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] [ 0.778278] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 Fixes: 25d9635e4ee5 ("Add ldmtool") Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> --- * Changelog * v1 -> v2 * Directly return FALSE instead of goto error. Jumping to the error label bypasses jb's declaration thus resulting in an undefined behavior. --- src/ldmtool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ldmtool.c b/src/ldmtool.c index 6957c1a..dbe2c8c 100644 --- a/src/ldmtool.c +++ b/src/ldmtool.c @@ -746,6 +746,8 @@ cmdline(LDM * const ldm, gchar **devices, GArray * scanned = NULL; if (!devices) { scanned = get_devices(); + if (!scanned) + return FALSE; devices = (gchar **) scanned->data; } -- 2.25.1
If /sys/block can not be opened, get_devices() returns NULL. cmdline() does not check this result and below code snippet: scanned = get_devices(); devices = (gchar **) scanned->data; results in a segmentation fault. Add a check on scanned. Relevant logs: Unable to open /sys/block: No such file or directory [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] [ 0.778278] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1 Fixes: 25d9635e4ee5 ("Add ldmtool") Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> --- * Changelog * v2 -> v3 * Fix the From: tag (incorrect e-mail address, sorry for the noise). v1 -> v2 * Directly return FALSE instead of goto error. Jumping to the error label bypasses jb's declaration thus resulting in an undefined behavior. --- src/ldmtool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ldmtool.c b/src/ldmtool.c index 6957c1a..dbe2c8c 100644 --- a/src/ldmtool.c +++ b/src/ldmtool.c @@ -746,6 +746,8 @@ cmdline(LDM * const ldm, gchar **devices, GArray * scanned = NULL; if (!devices) { scanned = get_devices(); + if (!scanned) + return FALSE; devices = (gchar **) scanned->data; } -- 2.25.1
On Tue, Jun 20, 2023 at 05:00:24PM +0900, Vincent Mailhol wrote:
If /sys/block can not be opened, get_devices() returns NULL.
cmdline() does not check this result and below code snippet:
scanned = get_devices(); devices = (gchar **) scanned->data;
results in a segmentation fault.
Add a check on scanned.
Relevant logs:
Unable to open /sys/block: No such file or directory [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] [ 0.778278] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1
Fixes: 25d9635e4ee5 ("Add ldmtool") Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> ---
* Changelog *
v2 -> v3
* Fix the From: tag (incorrect e-mail address, sorry for the noise).
v1 -> v2
* Directly return FALSE instead of goto error. Jumping to the error label bypasses jb's declaration thus resulting in an undefined behavior.
--- src/ldmtool.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/ldmtool.c b/src/ldmtool.c index 6957c1a..dbe2c8c 100644 --- a/src/ldmtool.c +++ b/src/ldmtool.c @@ -746,6 +746,8 @@ cmdline(LDM * const ldm, gchar **devices, GArray * scanned = NULL; if (!devices) { scanned = get_devices(); + if (!scanned) + return FALSE; devices = (gchar **) scanned->data; }
Seems fine, based on Laszlo's analysis of the first version, thus: Acked-by: Richard W.M. Jones <rjones@redhat.com> I believe I will be able to push this patch (or if not, I'll ask Matt to do it later). Is this version OK Laszlo? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
On 6/20/23 10:08, Richard W.M. Jones wrote:
On Tue, Jun 20, 2023 at 05:00:24PM +0900, Vincent Mailhol wrote:
If /sys/block can not be opened, get_devices() returns NULL.
cmdline() does not check this result and below code snippet:
scanned = get_devices(); devices = (gchar **) scanned->data;
results in a segmentation fault.
Add a check on scanned.
Relevant logs:
Unable to open /sys/block: No such file or directory [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] [ 0.778278] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1
Fixes: 25d9635e4ee5 ("Add ldmtool") Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> ---
* Changelog *
v2 -> v3
* Fix the From: tag (incorrect e-mail address, sorry for the noise).
v1 -> v2
* Directly return FALSE instead of goto error. Jumping to the error label bypasses jb's declaration thus resulting in an undefined behavior.
--- src/ldmtool.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/ldmtool.c b/src/ldmtool.c index 6957c1a..dbe2c8c 100644 --- a/src/ldmtool.c +++ b/src/ldmtool.c @@ -746,6 +746,8 @@ cmdline(LDM * const ldm, gchar **devices, GArray * scanned = NULL; if (!devices) { scanned = get_devices(); + if (!scanned) + return FALSE; devices = (gchar **) scanned->data; }
Seems fine, based on Laszlo's analysis of the first version, thus:
Acked-by: Richard W.M. Jones <rjones@redhat.com>
I believe I will be able to push this patch (or if not, I'll ask Matt to do it later). Is this version OK Laszlo?
Reviewed-by: Laszlo Ersek <lersek@redhat.com> Thanks! Laszlo
Rich.
On Tue, Jun 20, 2023 at 11:15:15AM +0200, Laszlo Ersek wrote:
On 6/20/23 10:08, Richard W.M. Jones wrote:
On Tue, Jun 20, 2023 at 05:00:24PM +0900, Vincent Mailhol wrote:
If /sys/block can not be opened, get_devices() returns NULL.
cmdline() does not check this result and below code snippet:
scanned = get_devices(); devices = (gchar **) scanned->data;
results in a segmentation fault.
Add a check on scanned.
Relevant logs:
Unable to open /sys/block: No such file or directory [ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] [ 0.778278] Code: 18 64 48 33 1c 25 28 00 00 00 75 5e 48 83 c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 e8 db fd ff ff <4c> 8b 20 48 89 44 24 08 4c 89 e7 e8 0b e1 ff ff 45 31 c0 4c 89 e1
Fixes: 25d9635e4ee5 ("Add ldmtool") Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> ---
* Changelog *
v2 -> v3
* Fix the From: tag (incorrect e-mail address, sorry for the noise).
v1 -> v2
* Directly return FALSE instead of goto error. Jumping to the error label bypasses jb's declaration thus resulting in an undefined behavior.
--- src/ldmtool.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/ldmtool.c b/src/ldmtool.c index 6957c1a..dbe2c8c 100644 --- a/src/ldmtool.c +++ b/src/ldmtool.c @@ -746,6 +746,8 @@ cmdline(LDM * const ldm, gchar **devices, GArray * scanned = NULL; if (!devices) { scanned = get_devices(); + if (!scanned) + return FALSE; devices = (gchar **) scanned->data; }
Seems fine, based on Laszlo's analysis of the first version, thus:
Acked-by: Richard W.M. Jones <rjones@redhat.com>
I believe I will be able to push this patch (or if not, I'll ask Matt to do it later). Is this version OK Laszlo?
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Upstream in: https://github.com/mdbooth/libldm/commit/674da9bd4f482cd5e07e3f8f4b648d366b2... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
On 6/19/23 16:32, Vincent Mailhol wrote:
On Mon 19 June 2023 at 21:16, Laszlo Ersek <lersek@redhat.com> wrote:
On 6/19/23 13:18, Vincent MAILHOL wrote:
On Fri. 16 juin 2023 at 16:34, Richard W.M. Jones <rjones@redhat.com> wrote: (...)
Last thing, the segfault on ldmtool [1] still seems a valid issue. Even if I now do have a workaround for my problem, that segfault might be worth a bit more investigation.
Yes that does look like a real problem. Does it crash if you just run ldmtool as a normal command, nothing to do with libguestfs? Might be a good idea to try to get a stack trace of the crash.
The fact is that it only crashes with the UUID 65534 in the qemu VM. I am not sure what command line is passed to ldmtool for this crash to occur.
I can help to gather information, but my biggest issue is that I do not know how to interact with the VM under /tmp/.guestfs-1001/
[ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] ^^^^ ^^^^^^^^^^^^^^^^^^^ This smells like a NULL pointer dereference.
... Hey this is actually my line from an email I started writing earlier today :) , but I then decided not to send it.
It certainly looks like a null pointer dereference, and if you disassemble the instruction byte stream dump (the "Code:" line from the kernel log) with (e.g.) ndisasm, that confirms it. You get something like
00000025 E8DBFDFFFF call 0xfffffffffffffe05 0000002A 4C8B20 mov r12,[rax] <---- crash 0000002D 4889442408 mov [rsp+0x8],rax 00000032 4C89E7 mov rdi,r12 00000035 E80BE1FFFF call 0xffffffffffffe145
with the "mov r12,[rax]" instruction faulting (with the previously called function presumably having returned 0 in rax). See the "<4c> 8b 20" substring in the "Code:" line -- the angle brackets point at the first byte of the crashing instruction.
I didn't send the email ultimately because your email included a link [1] pointing at a particular line number:
https://github.com/mdbooth/libldm/blob/master/src/ldmtool.c#L164
and so I assumed you actually traced the crash to that line.
Is that the case?
Or did you perhaps mistake *PID* 164 (from the kernel log) for the line number?
Yes, two messages back, I misinterpreted the PID (164) as a line number. Because that particular line manipulate the result of a g_array_index(), it looked coherent with the potential NULL pointer dereference. Realizing my mistake, I then started to do a deeper addr2line investigation in the previous message. Sorry.
The instruction pointer being 563a225cd6a5, I installed libguestfs-tools-dbgsym and tried a:
addr2line -e /usr/bin/ldmtool 564a892506a5 ^^^^^^^^^^^^
Reading my previous message, I do not know where this 564a892506a5 comes from. I meant 563a225cd6a5 here (and below in gdb).
Results:
??:0
Without conviction, I also tried in GDB:
$ gdb /usr/bin/ldmtool (...) Reading symbols from /usr/bin/ldmtool... Reading symbols from /usr/lib/debug/.build-id/21/37b4a64903ebe427c242be08b8d496ba570583.debug... (gdb) info line *0x564a892506a5 No line number information available for address 0x564a892506a5
Debug symbols are correctly installed but impossible to convert that instruction pointer into a line number. It is as if the ldmtool on my host and the ldmtool in the qemu VM were from a different build. I tried to mount /tmp/.guestfs-1001/appliance.d/root but that disk image did not contain ldmtool.
I am not sure how to generate a stack trace or a core dump within that qemu VM. If you can tell me how to get an interactive prompt (or any other guidance) I can try to collect more information.
The IP where the crash occurs is 0000563a225cd6a5. The ldmtool binary (as opposed to a shared object / library) is mapped into the process's address space at 563a225cb000, for a length of 0x3000 bytes. So the offending instruction is supposed to be 0000563a225cd6a5 - 563a225cb000 = 26A5.
Thanks for the explanation.
With the debug symbols installed, can you attach the output of
objdump --headers --wide -S /usr/bin/ldmtool
?
Results attached at the bottom of the e-mail.
Can you try
addr2line -p -i -f -e /usr/bin/ldmtool 26A5
?
Unfortunately:
$ addr2line -p -i -f -e /usr/bin/ldmtool 26a5 ?? ??:0
(This still may not be good enough; we might have to offset the difference 0x26A5 with some address related to the .text section... The objdump output should help us experiment.)
For what it is worth, I loaded the program in GDB:
(gdb) break main Breakpoint 1 at 0x3ba0: file ldmtool.c, line 756. (gdb) run Starting program: /usr/bin/ldmtool [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, main (argc=1, argv=0x7fffffffdef8) at ldmtool.c:756 756 ldmtool.c: No such file or directory. (gdb) info proc map process 3968967 Mapped address spaces:
Start Addr End Addr Size Offset objfile 0x555555554000 0x555555557000 0x3000 0x0 /usr/bin/ldmtool 0x555555557000 0x55555555a000 0x3000 0x3000 /usr/bin/ldmtool 0x55555555a000 0x55555555b000 0x1000 0x6000 /usr/bin/ldmtool 0x55555555c000 0x55555555d000 0x1000 0x7000 /usr/bin/ldmtool 0x55555555d000 0x55555555e000 0x1000 0x8000 /usr/bin/ldmtool 0x55555555e000 0x55555557f000 0x21000 0x0 [heap] 0x7ffff753b000 0x7ffff753f000 0x4000 0x0 <shared object mapping redacted>
I am not sure why there is five segment for ldmtool. Regardless:
(gdb) info line *(0x555555554000 + 0x26a5) No line number information available for address 0x5555555566a5 (gdb) info line *(0x555555557000 + 0x26a5) Line 717 of "ldmtool.c" starts at address 0x5555555596a5 <cmdline+245> and ends at 0x5555555596ad <cmdline+253>. (gdb) info line *(0x55555555a000 + 0x26a5) No line number information available for address 0x55555555c6a5 (gdb) info line *(0x55555555c000 + 0x26a5) No line number information available for address 0x55555555e6a5 (gdb) info line *(0x55555555d000 + 0x26a5) No line number information available for address 0x55555555f6a5
On the latest version: https://github.com/mdbooth/libldm/blob/master/src/ldmtool.c#L717 points to an empty line.
But if I go a bit in the past (I am using Ubuntu 20.04) https://github.com/mdbooth/libldm/blob/5850aa5f060cd3a45d6d62c183261bba5096c... looks like a smoking gun!
I am not yet sure how I found it, but seems like we have a case closed.
I will send a patch right away.
So the difference 0x26a5 is certainly good, it's just this weird offset 0x3000 that I can't explain (or deduce) from the objdump output. Note that in the objdump output below, we don't have any usable 0x3000 reference. However, in your "info proc map" output above, we certainly have it: the entry that starts at 0x555555557000, i.e. offset 0x3000. That's the one relative to which you managed to deduce line 717, and it's *also* the one that points to the right location in the disassembly. Namely, 0x3000 + 0x26a5 = 0x56A5, and:
--- $ objdump --headers --wide -S /usr/bin/ldmtool
/usr/bin/ldmtool: file format elf64-x86-64
Sections: Idx Name Size VMA LMA File off Algn Flags 0 .interp 0000001c 0000000000000318 0000000000000318 00000318 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 1 .note.gnu.property 00000020 0000000000000338 0000000000000338 00000338 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 .note.gnu.build-id 00000024 0000000000000358 0000000000000358 00000358 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .note.ABI-tag 00000020 000000000000037c 000000000000037c 0000037c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .gnu.hash 00000040 00000000000003a0 00000000000003a0 000003a0 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 5 .dynsym 000009d8 00000000000003e0 00000000000003e0 000003e0 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 .dynstr 000007ef 0000000000000db8 0000000000000db8 00000db8 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA 7 .gnu.version 000000d2 00000000000015a8 00000000000015a8 000015a8 2**1 CONTENTS, ALLOC, LOAD, READONLY, DATA 8 .gnu.version_r 00000070 0000000000001680 0000000000001680 00001680 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 9 .rela.dyn 00000228 00000000000016f0 00000000000016f0 000016f0 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 10 .rela.plt 00000888 0000000000001918 0000000000001918 00001918 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 11 .init 0000001b 0000000000003000 0000000000003000 00003000 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 12 .plt 000005c0 0000000000003020 0000000000003020 00003020 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 13 .plt.got 00000010 00000000000035e0 00000000000035e0 000035e0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 14 .plt.sec 000005b0 00000000000035f0 00000000000035f0 000035f0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 15 .text 00001c45 0000000000003ba0 0000000000003ba0 00003ba0 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE 16 .fini 0000000d 00000000000057e8 00000000000057e8 000057e8 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE 17 .rodata 0000064a 0000000000006000 0000000000006000 00006000 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 18 .eh_frame_hdr 000000ec 000000000000664c 000000000000664c 0000664c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 19 .eh_frame 00000660 0000000000006738 0000000000006738 00006738 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA 20 .init_array 00000008 00000000000089b0 00000000000089b0 000079b0 2**3 CONTENTS, ALLOC, LOAD, DATA 21 .fini_array 00000008 00000000000089b8 00000000000089b8 000079b8 2**3 CONTENTS, ALLOC, LOAD, DATA 22 .data.rel.ro 000000b0 00000000000089c0 00000000000089c0 000079c0 2**5 CONTENTS, ALLOC, LOAD, DATA 23 .dynamic 00000260 0000000000008a70 0000000000008a70 00007a70 2**3 CONTENTS, ALLOC, LOAD, DATA 24 .got 00000328 0000000000008cd0 0000000000008cd0 00007cd0 2**3 CONTENTS, ALLOC, LOAD, DATA 25 .data 00000010 0000000000009000 0000000000009000 00008000 2**3 CONTENTS, ALLOC, LOAD, DATA 26 .bss 00000038 0000000000009020 0000000000009020 00008010 2**5 ALLOC 27 .gnu_debuglink 00000034 0000000000000000 0000000000000000 00008010 2**2 CONTENTS, READONLY
[...]
# ifdef __va_arg_pack __fortify_function int __NTH (asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...)) { return __asprintf_chk (__ptr, __USE_FORTIFY_LEVEL - 1, __fmt, 54ce: 48 89 e3 mov %rsp,%rbx 54d1: 48 89 c7 mov %rax,%rdi 54d4: 49 89 c5 mov %rax,%r13 54d7: e8 34 e5 ff ff callq 3a10 <g_array_set_clear_func@plt> 54dc: 48 89 ef mov %rbp,%rdi 54df: e8 7c e3 ff ff callq 3860 <readdir@plt> 54e4: 48 85 c0 test %rax,%rax 54e7: 74 65 je 554e <ldm_partition_get_name@plt+0x19be> 54e9: 4c 8d 60 13 lea 0x13(%rax),%r12 54ed: 48 8d 35 e3 10 00 00 lea 0x10e3(%rip),%rsi # 65d7 <_IO_stdin_used@@Base+0x5d7> 54f4: 4c 89 e7 mov %r12,%rdi 54f7: e8 e4 e1 ff ff callq 36e0 <g_strcmp0@plt> 54fc: 85 c0 test %eax,%eax 54fe: 74 dc je 54dc <ldm_partition_get_name@plt+0x194c> 5500: 48 8d 35 cf 10 00 00 lea 0x10cf(%rip),%rsi # 65d6 <_IO_stdin_used@@Base+0x5d6> 5507: 4c 89 e7 mov %r12,%rdi 550a: e8 d1 e1 ff ff callq 36e0 <g_strcmp0@plt> 550f: 85 c0 test %eax,%eax 5511: 74 c9 je 54dc <ldm_partition_get_name@plt+0x194c> 5513: 31 c0 xor %eax,%eax 5515: 4c 89 e1 mov %r12,%rcx 5518: 48 8d 15 ba 10 00 00 lea 0x10ba(%rip),%rdx # 65d9 <_IO_stdin_used@@Base+0x5d9> 551f: 48 89 df mov %rbx,%rdi 5522: be 01 00 00 00 mov $0x1,%esi 5527: e8 e4 e2 ff ff callq 3810 <__asprintf_chk@plt> 552c: 83 f8 ff cmp $0xffffffff,%eax 552f: 74 43 je 5574 <ldm_partition_get_name@plt+0x19e4> 5531: 4c 89 ef mov %r13,%rdi 5534: ba 01 00 00 00 mov $0x1,%edx 5539: 48 89 de mov %rbx,%rsi 553c: e8 0f e6 ff ff callq 3b50 <g_array_append_vals@plt> 5541: 48 89 ef mov %rbp,%rdi 5544: e8 17 e3 ff ff callq 3860 <readdir@plt> 5549: 48 85 c0 test %rax,%rax 554c: 75 9b jne 54e9 <ldm_partition_get_name@plt+0x1959> 554e: 48 89 ef mov %rbp,%rdi 5551: e8 4a e5 ff ff callq 3aa0 <closedir@plt> 5556: 48 8b 44 24 08 mov 0x8(%rsp),%rax 555b: 64 48 33 04 25 28 00 00 00 xor %fs:0x28,%rax 5564: 75 44 jne 55aa <ldm_partition_get_name@plt+0x1a1a> 5566: 48 83 c4 18 add $0x18,%rsp 556a: 4c 89 e8 mov %r13,%rax 556d: 5b pop %rbx 556e: 5d pop %rbp 556f: 41 5c pop %r12 5571: 41 5d pop %r13 5573: c3 retq 5574: 48 8d 15 66 10 00 00 lea 0x1066(%rip),%rdx # 65e1 <_IO_stdin_used@@Base+0x5e1> 557b: be 04 00 00 00 mov $0x4,%esi 5580: 31 ff xor %edi,%edi 5582: 31 c0 xor %eax,%eax 5584: e8 d7 e5 ff ff callq 3b60 <g_log@plt> 5589: eb fe jmp 5589 <ldm_partition_get_name@plt+0x19f9> 558b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 5590: 48 8d 15 21 10 00 00 lea 0x1021(%rip),%rdx # 65b8 <_IO_stdin_used@@Base+0x5b8> 5597: be 10 00 00 00 mov $0x10,%esi 559c: 31 ff xor %edi,%edi 559e: 31 c0 xor %eax,%eax 55a0: e8 bb e5 ff ff callq 3b60 <g_log@plt> 55a5: 45 31 ed xor %r13d,%r13d 55a8: eb ac jmp 5556 <ldm_partition_get_name@plt+0x19c6> 55aa: e8 21 e4 ff ff callq 39d0 <__stack_chk_fail@plt> 55af: 90 nop 55b0: f3 0f 1e fa endbr64 55b4: 41 57 push %r15 55b6: 49 89 d7 mov %rdx,%r15 55b9: 41 56 push %r14 55bb: 49 89 ce mov %rcx,%r14 55be: 41 55 push %r13 55c0: 45 89 c5 mov %r8d,%r13d 55c3: 41 54 push %r12 55c5: 55 push %rbp 55c6: 48 89 fd mov %rdi,%rbp 55c9: 53 push %rbx 55ca: 4c 89 cb mov %r9,%rbx 55cd: 48 83 ec 28 sub $0x28,%rsp 55d1: 64 48 8b 04 25 28 00 00 00 mov %fs:0x28,%rax 55da: 48 89 44 24 18 mov %rax,0x18(%rsp) 55df: 31 c0 xor %eax,%eax 55e1: 48 85 f6 test %rsi,%rsi 55e4: 0f 84 b6 00 00 00 je 56a0 <ldm_partition_get_name@plt+0x1b10> 55ea: 48 89 f7 mov %rsi,%rdi 55ed: 49 89 f4 mov %rsi,%r12 55f0: e8 cb e1 ff ff callq 37c0 <g_strv_length@plt> 55f5: 45 31 c0 xor %r8d,%r8d 55f8: 4c 89 e1 mov %r12,%rcx 55fb: be 01 00 00 00 mov $0x1,%esi 5600: 89 c2 mov %eax,%edx 5602: 48 89 ef mov %rbp,%rdi 5605: e8 c6 ea ff ff callq 40d0 <ldm_partition_get_name@plt+0x540> 560a: 85 c0 test %eax,%eax 560c: 74 67 je 5675 <ldm_partition_get_name@plt+0x1ae5> 560e: e8 5d e4 ff ff callq 3a70 <json_builder_new@plt> 5613: 48 8d 4c 24 14 lea 0x14(%rsp),%rcx 5618: 48 89 da mov %rbx,%rdx 561b: 4d 89 f9 mov %r15,%r9 561e: 48 83 ec 08 sub $0x8,%rsp 5622: 4d 89 f0 mov %r14,%r8 5625: 44 89 ee mov %r13d,%esi 5628: 48 89 ef mov %rbp,%rdi 562b: 50 push %rax 562c: 49 89 c4 mov %rax,%r12 562f: e8 2c e9 ff ff callq 3f60 <ldm_partition_get_name@plt+0x3d0> 5634: 5a pop %rdx 5635: 59 pop %rcx 5636: 85 c0 test %eax,%eax 5638: 74 16 je 5650 <ldm_partition_get_name@plt+0x1ac0> 563a: 4c 89 e7 mov %r12,%rdi 563d: e8 8e e0 ff ff callq 36d0 <g_object_unref@plt> 5642: 8b 44 24 14 mov 0x14(%rsp),%eax 5646: eb 2f jmp 5677 <ldm_partition_get_name@plt+0x1ae7> 5648: 0f 1f 84 00 00 00 00 00 nopl 0x0(%rax,%rax,1) 5650: 48 8b 0b mov (%rbx),%rcx 5653: 48 8d 15 a2 0f 00 00 lea 0xfa2(%rip),%rdx # 65fc <_IO_stdin_used@@Base+0x5fc> 565a: 31 ff xor %edi,%edi 565c: 31 c0 xor %eax,%eax 565e: be 10 00 00 00 mov $0x10,%esi 5663: e8 f8 e4 ff ff callq 3b60 <g_log@plt> 5668: 4d 85 e4 test %r12,%r12 566b: 74 08 je 5675 <ldm_partition_get_name@plt+0x1ae5> 566d: 4c 89 e7 mov %r12,%rdi 5670: e8 5b e0 ff ff callq 36d0 <g_object_unref@plt> 5675: 31 c0 xor %eax,%eax 5677: 48 8b 5c 24 18 mov 0x18(%rsp),%rbx 567c: 64 48 33 1c 25 28 00 00 00 xor %fs:0x28,%rbx 5685: 75 5e jne 56e5 <ldm_partition_get_name@plt+0x1b55> 5687: 48 83 c4 28 add $0x28,%rsp 568b: 5b pop %rbx 568c: 5d pop %rbp 568d: 41 5c pop %r12 568f: 41 5d pop %r13 5691: 41 5e pop %r14 5693: 41 5f pop %r15 5695: c3 retq 5696: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 56a0: e8 db fd ff ff callq 5480 <ldm_partition_get_name@plt+0x18f0> 56a5: 4c 8b 20 mov (%rax),%r12
this is where we crash. Laszlo
56a8: 48 89 44 24 08 mov %rax,0x8(%rsp) 56ad: 4c 89 e7 mov %r12,%rdi 56b0: e8 0b e1 ff ff callq 37c0 <g_strv_length@plt> 56b5: 45 31 c0 xor %r8d,%r8d 56b8: 4c 89 e1 mov %r12,%rcx 56bb: be 01 00 00 00 mov $0x1,%esi 56c0: 89 c2 mov %eax,%edx 56c2: 48 89 ef mov %rbp,%rdi 56c5: e8 06 ea ff ff callq 40d0 <ldm_partition_get_name@plt+0x540> 56ca: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 56cf: 85 c0 test %eax,%eax 56d1: 75 17 jne 56ea <ldm_partition_get_name@plt+0x1b5a> 56d3: 4c 89 d7 mov %r10,%rdi 56d6: 89 44 24 08 mov %eax,0x8(%rsp) 56da: e8 81 e0 ff ff callq 3760 <g_array_unref@plt> 56df: 8b 44 24 08 mov 0x8(%rsp),%eax 56e3: eb 92 jmp 5677 <ldm_partition_get_name@plt+0x1ae7> 56e5: e8 e6 e2 ff ff callq 39d0 <__stack_chk_fail@plt> 56ea: 4c 89 54 24 08 mov %r10,0x8(%rsp) 56ef: e8 7c e3 ff ff callq 3a70 <json_builder_new@plt> 56f4: 48 8d 4c 24 14 lea 0x14(%rsp),%rcx 56f9: 4d 89 f0 mov %r14,%r8 56fc: 48 89 ef mov %rbp,%rdi 56ff: 56 push %rsi 5700: 4d 89 f9 mov %r15,%r9 5703: 48 89 da mov %rbx,%rdx 5706: 44 89 ee mov %r13d,%esi 5709: 50 push %rax 570a: 49 89 c4 mov %rax,%r12 570d: e8 4e e8 ff ff callq 3f60 <ldm_partition_get_name@plt+0x3d0> 5712: 5f pop %rdi 5713: 41 58 pop %r8 5715: 85 c0 test %eax,%eax 5717: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 571c: 74 19 je 5737 <ldm_partition_get_name@plt+0x1ba7> 571e: 4c 89 d7 mov %r10,%rdi 5721: e8 3a e0 ff ff callq 3760 <g_array_unref@plt> 5726: 4c 89 e7 mov %r12,%rdi 5729: e8 a2 df ff ff callq 36d0 <g_object_unref@plt> 572e: 8b 44 24 14 mov 0x14(%rsp),%eax 5732: e9 40 ff ff ff jmpq 5677 <ldm_partition_get_name@plt+0x1ae7> 5737: 48 8b 0b mov (%rbx),%rcx 573a: 31 ff xor %edi,%edi 573c: 48 8d 15 b9 0e 00 00 lea 0xeb9(%rip),%rdx # 65fc <_IO_stdin_used@@Base+0x5fc> 5743: 31 c0 xor %eax,%eax 5745: be 10 00 00 00 mov $0x10,%esi 574a: 4c 89 54 24 08 mov %r10,0x8(%rsp) 574f: e8 0c e4 ff ff callq 3b60 <g_log@plt> 5754: 4c 8b 54 24 08 mov 0x8(%rsp),%r10 5759: 4c 89 d7 mov %r10,%rdi 575c: e8 ff df ff ff callq 3760 <g_array_unref@plt> 5761: e9 02 ff ff ff jmpq 5668 <ldm_partition_get_name@plt+0x1ad8> 5766: 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:0x0(%rax,%rax,1) 5770: f3 0f 1e fa endbr64 5774: 41 57 push %r15 5776: 4c 8d 3d 33 32 00 00 lea 0x3233(%rip),%r15 # 89b0 <_IO_stdin_used@@Base+0x29b0> 577d: 41 56 push %r14 577f: 49 89 d6 mov %rdx,%r14 5782: 41 55 push %r13 5784: 49 89 f5 mov %rsi,%r13 5787: 41 54 push %r12 5789: 41 89 fc mov %edi,%r12d 578c: 55 push %rbp 578d: 48 8d 2d 24 32 00 00 lea 0x3224(%rip),%rbp # 89b8 <_IO_stdin_used@@Base+0x29b8> 5794: 53 push %rbx 5795: 4c 29 fd sub %r15,%rbp 5798: 48 83 ec 08 sub $0x8,%rsp 579c: e8 5f d8 ff ff callq 3000 <__cxa_finalize@plt-0x5e0> 57a1: 48 c1 fd 03 sar $0x3,%rbp 57a5: 74 1f je 57c6 <ldm_partition_get_name@plt+0x1c36> 57a7: 31 db xor %ebx,%ebx 57a9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 57b0: 4c 89 f2 mov %r14,%rdx 57b3: 4c 89 ee mov %r13,%rsi 57b6: 44 89 e7 mov %r12d,%edi 57b9: 41 ff 14 df callq *(%r15,%rbx,8) 57bd: 48 83 c3 01 add $0x1,%rbx 57c1: 48 39 dd cmp %rbx,%rbp 57c4: 75 ea jne 57b0 <ldm_partition_get_name@plt+0x1c20> 57c6: 48 83 c4 08 add $0x8,%rsp 57ca: 5b pop %rbx 57cb: 5d pop %rbp 57cc: 41 5c pop %r12 57ce: 41 5d pop %r13 57d0: 41 5e pop %r14 57d2: 41 5f pop %r15 57d4: c3 retq 57d5: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0(%rax,%rax,1) 57e0: f3 0f 1e fa endbr64 57e4: c3 retq
Disassembly of section .fini:
00000000000057e8 <.fini>: 57e8: f3 0f 1e fa endbr64 57ec: 48 83 ec 08 sub $0x8,%rsp 57f0: 48 83 c4 08 add $0x8,%rsp 57f4: c3
On Mon, Jun 19, 2023 at 08:18:20PM +0900, Vincent MAILHOL wrote:
On Fri. 16 juin 2023 at 16:34, Richard W.M. Jones <rjones@redhat.com> wrote: (...)
Last thing, the segfault on ldmtool [1] still seems a valid issue. Even if I now do have a workaround for my problem, that segfault might be worth a bit more investigation.
Yes that does look like a real problem. Does it crash if you just run ldmtool as a normal command, nothing to do with libguestfs? Might be a good idea to try to get a stack trace of the crash.
The fact is that it only crashes with the UUID 65534 in the qemu VM. I am not sure what command line is passed to ldmtool for this crash to occur.
I can help to gather information, but my biggest issue is that I do not know how to interact with the VM under /tmp/.guestfs-1001/
I think you've solved the problem now, but for future reference you can run: $ virt-rescue (there are various options, see the manual). This will create a virtual machine with the appliance and drop you into a shell. Rich.
[ 0.777352] ldmtool[164]: segfault at 0 ip 0000563a225cd6a5 sp 00007ffe54965a60 error 4 in ldmtool[563a225cb000+3000] ^^^^ ^^^^^^^^^^^^^^^^^^^ This smells like a NULL pointer dereference. The instruction pointer being 563a225cd6a5, I installed libguestfs-tools-dbgsym and tried a:
addr2line -e /usr/bin/ldmtool 564a892506a5
Results:
??:0
Without conviction, I also tried in GDB:
$ gdb /usr/bin/ldmtool (...) Reading symbols from /usr/bin/ldmtool... Reading symbols from /usr/lib/debug/.build-id/21/37b4a64903ebe427c242be08b8d496ba570583.debug... (gdb) info line *0x564a892506a5 No line number information available for address 0x564a892506a5
Debug symbols are correctly installed but impossible to convert that instruction pointer into a line number. It is as if the ldmtool on my host and the ldmtool in the qemu VM were from a different build. I tried to mount /tmp/.guestfs-1001/appliance.d/root but that disk image did not contain ldmtool.
I am not sure how to generate a stack trace or a core dump within that qemu VM. If you can tell me how to get an interactive prompt (or any other guidance) I can try to collect more information.
Yours sincerely, Vincent Mailhol
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Hi Richard and Lersek, Thanks for your help on this issue and thanks for picking up my patch and applying it upstream! On Tue. 20 June 2023 à 17:10, Richard W.M. Jones <rjones@redhat.com> wrote:
I think you've solved the problem now, but for future reference you can run:
$ virt-rescue
Perfect! This last comment was what I needed for my final investigation. The UUID 65534 problem showed up again. Within the qemu VM, the active user is indeed root. However, $ ls -al /bin/mount -rwsr-xr-x 1 65534 65534 55528 May 30 15:42 /bin/mount Where 65534 corresponds to the user "nobody" and the group "nogroup". So the root cause was that the bazel sandbox created an environment in which SUID programs had a different UID and GID than expected. The guestfs-tools would just copy those IDs when creating the qemu rootfs. Even if /bin/mount was executed as root, the SUID makes it run effectively as nobody. This is kind of comical: it is the first time that I see a SUID resulting in a drop of privilege ¯\_(ツ)_/¯. At this point, I just gave up on using the bazel sandbox for the particular target in which I need guestfs-tools. For the record, and in case anyone has the same issue as I did and find this thread, the sandbox can be disabled for a particular target by using the "no-sandbox" tag. Example: genrule( name = "rootfs", srcs = ["rootfs.tar"], outs = ["rootfs.ext4"], tags = ["no-sandbox"], cmd = "virt-make-fs --format=raw --type=ext4 --size=+500M $< $@", ) Yours sincerely, Vincent Mailhol
participants (4)
-
Laszlo Ersek -
Richard W.M. Jones -
Vincent MAILHOL -
Vincent Mailhol