This file is indexed.

/usr/share/radare2/0.9.6/www/enyo/js/leftpanel.js is in libradare2-common 0.9.6-3.1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
enyo.kind ({
  name: "LeftPanel",
  classes: "onyx-toolbar",
  kind: "Scroller",
  fit: true,
  /* touch:true, */
  style: "width: 200px;height:100%;margin:0px;",
  accelerated: true,
  horizontal: "hidden",
  //strategyKind: "TranslateScrollStrategy",
  create: function() {
    this.inherited (arguments);
    this.$.strategy.setTranslateOptimized = true;
  },
  components: [
    {tag: "center", components:[
      {tag: "h3", ontap: "openPanel2", content: "radare2", style: "margin:0px;margin-bottom:20px;" },
    {kind: "Group", onActivate:"buttonActivated", classes: "enyo-border-box group", defaultKind: "onyx.Button", highlander: true, components: [
      {content: "Disassembler", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Disassembler", active: true},
      {content: "Assembler", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Assembler" },
      {content: "Hexdump", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Hexdump" },
      {content: "Graph", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Graph" },
      {content: "Search", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Search" },
      {content: "Console", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Console" },
      {content: "Debugger", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Debugger" },
      {content: "Script", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Script" },
      {content: "Settings", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Settings" },
      {content: "Logs", classes: "onyx-dark menu-button", ontap:"openPanel", name: "Logs" },
      {content: "About", classes: "onyx-dark menu-button" , ontap: "openPanel", name:"About"},
    ]}
    ]},
  ],
  openPanel2: function() {
    this.ra.setIndex (2);
  },
  openPanel: function (x) {
    if (enyo.Panels.isScreenNarrow())
      this.ra.setIndex (1);
    if (x.name == this.oname)
      this.ra.setIndex (1);
    this.oname = x.name;
    if (this.openCallback)
      this.openCallback (x.name);
  },
  oname: null,
  ra: null,
  oldSender: null,
  rowTap: function (inSender, inIndex) {
    if (this.oldSender)
      this.oldSender.setStyle ("width:100%"); // background of row
// TODO. use applystall
    //this.$.list.render ();
    inSender.setStyle ("background-color: #202020;width:100%"); // background of row
    this.oldSender = inSender;
    if (this.openCallback)
      this.openCallback (inIndex.index); //this.data[inIndex.index]);
  },
  openCallback: undefined,
  data: [],
  iter: 1,
  refresh: function () {
    this.iter++;
/*
    this.$.list.setCount (this.data.length);
    this.$.list.refresh ();
*/
  },
});