Skip to content

metadata_full_dump truncates string in output #295

@brakhane

Description

@brakhane

It seems that strings in the metadata dump get truncated if they are longer than ~100 characters or so.

When running dwarfsck -d metadata_full_dump test.dwarfs on a random test fs, at least the compact_names buffer seems to be truncated:

  24: compact_names (struct) = string_table {
    1: buffer (string) = "\035-\014$-%\n\036\007(!0\r 2(%*\003)\004(%\035\003%.;>;A,7\?6\0358>G\?C@8><<,6<\?;,C@,B,8>7>8>6,>7B,\035:+6,;H676,IJ,@8,7KA,,<\002\001\014\002\027\026\002\001\014\002\r\002\000!\"!2\036\002\002\000\001\037 \005'\t&.$) 1\005\036%[...](731)",

Notice the [...](731) at the end.

The same happens for symtab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions