)]}'
{
  "commit": "82cb2524323d4f6eeb2adae3451f31754e271126",
  "tree": "5cc2389d9e971759b49fcdac75bd91a0a6ef1888",
  "parents": [
    "a2e7f81e382d641780ce5ae0fe72a309c8a4964d"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Jun 09 19:53:44 2022 +0930"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Tue Jun 14 09:56:45 2022 +0930"
  },
  "message": "gas dwarf2dbg.c tidy\n\nMake it a little more obvious that remap_debug_filename returns an\nallocated string (that should be freed) by returning a char * rather\nthan const char *.  Free a few missed cases in dwarf2dbg.c, and free\nother memory allocated in dwarf2dbg.c.  Also remove static\ninitialisation of variables and initialise in dwarf2_init instead,\nin order to ensure gas state is saner for oss-fuzz.\n\n\t* remap.c (remap_debug_filename): Remove const from return.\n\t* as.h (remap_debug_filename): Update prototype.\n\t* config/obj-elf.c (obj_elf_ident): Simplify free of\n\tremap_debug_filename output.\n\t* stabs.c (stabs_generate_asm_file): Likewise.\n\t* dwarf2dbg.c (dirs, dirs_in_use, dirs_allocated, current): Don\u0027t\n\tinitialise statically..\n\t(dwarf2_init): ..do so here, along with most other static vars.\n\t(assign_file_to_slot): Don\u0027t set files_allocated until we\n\tsucceed in allocating memory.\n\t(purge_generated_debug): Add bool param, free more stuff if true.\n\t(dwarf2_directive_filename): Adjust purge_generated_debug call.\n\t(process_entries): Don\u0027t free line_entry here..\n\t(dwarf2_cleanup): ..do so here instead, new function.\n\t(dwarf2_finish): Call dwarf2_cleanup.  When chaining together\n\tsubseg line entries, unhook entries from old subseg list.\n\t(dwarf2_directive_loc): Free remap_debug_filename string.\n\t(out_dir_and_file_list): Likewise.\n\t(out_debug_str): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "135abc8f23df5687e54597acacbb8c5f1f2e4c35",
      "old_mode": 33188,
      "old_path": "gas/as.h",
      "new_id": "470a2e52891c2d2791bb954fee1b379ff96c0552",
      "new_mode": 33188,
      "new_path": "gas/as.h"
    },
    {
      "type": "modify",
      "old_id": "c02d26ba45312743bdc3e9a24ff3e11d097e08e5",
      "old_mode": 33188,
      "old_path": "gas/config/obj-elf.c",
      "new_id": "b76853053d59ed8dcac49abf02f095f33371a227",
      "new_mode": 33188,
      "new_path": "gas/config/obj-elf.c"
    },
    {
      "type": "modify",
      "old_id": "b4b252970c16507527fd82f94cac56ee6e464f13",
      "old_mode": 33188,
      "old_path": "gas/dwarf2dbg.c",
      "new_id": "868ec79ee2cff6262a5ea2857633558936f846af",
      "new_mode": 33188,
      "new_path": "gas/dwarf2dbg.c"
    },
    {
      "type": "modify",
      "old_id": "f614cb5eefd2fc3dbfb78b5593aed591b85e9af4",
      "old_mode": 33188,
      "old_path": "gas/remap.c",
      "new_id": "2550682173b524d51b73fdb07d172036f29199c6",
      "new_mode": 33188,
      "new_path": "gas/remap.c"
    },
    {
      "type": "modify",
      "old_id": "5cd3c57f385a409cf9e4b2cf35f28077f4748a1f",
      "old_mode": 33188,
      "old_path": "gas/stabs.c",
      "new_id": "e80015ad4fdceef28156e4027923080282e1c3a2",
      "new_mode": 33188,
      "new_path": "gas/stabs.c"
    }
  ]
}
