)]}'
{
  "commit": "2a5afb6eafe9cd781f149ab53ee6ea8f23010ee5",
  "tree": "1912c23af26d651e38cf34839fe8c45469b09f3d",
  "parents": [
    "c4706aa764f3ae68258ba60be6325a5662900362"
  ],
  "author": {
    "name": "Alexey Gladkov",
    "email": "gladkov.alexey@gmail.com",
    "time": "Tue Nov 02 15:06:43 2021 +0100"
  },
  "committer": {
    "name": "Luc Van Oostenryck",
    "email": "luc.vanoostenryck@gmail.com",
    "time": "Sat May 21 10:59:45 2022 +0200"
  },
  "message": "dissect: Allow to show all symbols\n\nCurrently dissect sees only used symbols. For indexing purposes, it is\nuseful to see all declared symbols.\n\n$ nl -s\\  -w2 ./z.c\n 1 struct foo {\n 2         int member;\n 3 };\n 4 #ifdef OPT\n 5 static void func1(void) {\n 6         struct foo *x;\n 7         return 0;\n 8 }\n 9 #endif\n10 static inline void func2(void) { return; }\n11 void func(void) { return; }\n\n$ ./test-dissect ./z.c\n\nFILE: ./z.c\n\n  11:6                    def   f func                             void ( ... )\n\n$ ./test-dissect --param\u003ddissect-show-all-symbols ./z.c\n\nFILE: ./z.c\n\n   1:8                    def   s foo                              struct foo\n   2:13                   def   m foo.member                       int\n  10:20                   def   f func2                            void ( ... )\n  11:6                    def   f func                             void ( ... )\n\nSigned-off-by: Alexey Gladkov \u003cgladkov.alexey@gmail.com\u003e\nSigned-off-by: Luc Van Oostenryck \u003cluc.vanoostenryck@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "582e8fc32e467e9118bd1ba8919a8c534c740dd9",
      "old_mode": 33188,
      "old_path": "dissect.c",
      "new_id": "0d6c328864f6cdc30dd4f7c2d455aa506b96a5b0",
      "new_mode": 33188,
      "new_path": "dissect.c"
    },
    {
      "type": "modify",
      "old_id": "6704fc8d2c8d1d79f895ebd0e0357d64e388bc51",
      "old_mode": 33188,
      "old_path": "options.c",
      "new_id": "b4684357f4b63869d5cfa89a242b6254f9598f88",
      "new_mode": 33188,
      "new_path": "options.c"
    },
    {
      "type": "modify",
      "old_id": "0aec8764d27d69460d23ec157a0e948c791b8102",
      "old_mode": 33188,
      "old_path": "options.h",
      "new_id": "c2a9551a78e228e6717871015101ff5cfa7a5fa4",
      "new_mode": 33188,
      "new_path": "options.h"
    },
    {
      "type": "modify",
      "old_id": "911fc7470a30c53cb45553e830e41426ff39118c",
      "old_mode": 33188,
      "old_path": "semind.c",
      "new_id": "ad8003ba5911462e672a950bbb3ecb960adc8737",
      "new_mode": 33188,
      "new_path": "semind.c"
    }
  ]
}
