Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Stubbifier: Debloating Dynamic Server-Side JavaScript Applications   JavaScript is an increasingly popular language for server-side development,
thanks in part to the Node.js runtime environment and its vast ecosystem of
modules. With the Node.js package manager npm, users are able to easily include
external modules as dependencies in their projects. However, npm installs
modules with all of their functionality, even if only a fraction is needed,
which causes an undue increase in code size. Eliminating this unused
functionality from distributions is desirable, but the sound analysis required
to find unused code is difficult due to JavaScript's extreme dynamicity.
  We present a fully automatic technique that identifies unused code by
constructing static or dynamic call graphs from the application's tests, and
replacing code deemed unreachable with either file- or function-level stubs. If
a stub is called, it will fetch and execute the original code on-demand, thus
relaxing the requirement that the call graph be sound. The technique also
provides an optional guarded execution mode to guard application against
injection vulnerabilities in untested code that resulted from stub expansion.
  This technique is implemented in an open source tool called Stubbifier, which
supports the ECMAScript 2019 standard. In an empirical evaluation on 15 Node.js
applications and 75 clients of these applications, Stubbifier reduced
application size by 56% on average while incurring only minor performance
overhead. The evaluation also shows that Stubbifier's guarded execution mode is
capable of preventing several known injection vulnerabilities that are
manifested in stubbed-out code. Finally, Stubbifier can work alongside
bundlers, popular JavaScript tools for bundling an application with its
dependencies. For the considered subject applications, we measured an average
size reduction of 37% in bundled distributions.

4
The categories of this paper are: cond-mat
14
The categories of this paper are: math-ph
20
The categories of this paper are: acc-phys
7
The categories of this paper are: hep-th
9
The categories of this paper are: nlin
23
The categories of this paper are: solv-int
29
The categories of this paper are: funct-an
22
The categories of this paper are: chao-dyn
27
The categories of this paper are: comp-gas
35
The categories of this paper are: mtrl-th
21
The categories of this paper are: adap-org
28
The categories of this paper are: alg-geom
11
The categories of this paper are: hep-lat
13
The categories of this paper are: quant-ph
30
The categories of this paper are: q-alg
2
The categories of this paper are: math