ReuNify: A Step Towards Whole Program Analysis for React Native Android
Apps
- URL: http://arxiv.org/abs/2309.03524v1
- Date: Thu, 7 Sep 2023 07:13:22 GMT
- Title: ReuNify: A Step Towards Whole Program Analysis for React Native Android
Apps
- Authors: Yonghui Liu, Xiao Chen, Pei Liu, John Grundy, Chunyang Chen, and Li Li
- Abstract summary: REUNIFY is a prototype tool that integrates the JavaScript and native-side code of React Native apps into an intermediate language.
Our evaluation indicates that, by leveraging REUNIFY, the Soot-based framework can improve its coverage of static analysis for the 1,007 most popular React Native Android apps.
When REUNIFY is used for taint flow analysis, an average of two additional privacy leaks were identified.
- Score: 25.636590032838555
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: React Native is a widely-used open-source framework that facilitates the
development of cross-platform mobile apps. The framework enables JavaScript
code to interact with native-side code, such as Objective-C/Swift for iOS and
Java/Kotlin for Android, via a communication mechanism provided by React
Native. However, previous research and tools have overlooked this mechanism,
resulting in incomplete analysis of React Native app code. To address this
limitation, we have developed REUNIFY, a prototype tool that integrates the
JavaScript and native-side code of React Native apps into an intermediate
language that can be processed by the Soot static analysis framework. By doing
so, REUNIFY enables the generation of a comprehensive model of the app's
behavior. Our evaluation indicates that, by leveraging REUNIFY, the Soot-based
framework can improve its coverage of static analysis for the 1,007 most
popular React Native Android apps, augmenting the number of lines of Jimple
code by 70%. Additionally, we observed an average increase of 84% in new nodes
reached in the callgraph for these apps, after integrating REUNIFY. When
REUNIFY is used for taint flow analysis, an average of two additional privacy
leaks were identified. Overall, our results demonstrate that REUNIFY
significantly enhances the Soot-based framework's capability to analyze React
Native Android apps.
Related papers
- From OCL to JSX: declarative constraint modeling in modern SaaS tools [3.1662160826016765]
JSX is a declarative, functional subset of JavaScript/TypeScript used in the React ecosystem.<n>OCL.js, a JavaScript-based implementation of the Object Constraint Language, offers a web aligned approach to model validation.<n>We show JSX provides broader and better fits front-end-first architectures, indicating a promising path for constraint specification in modern modeling tools.
arXiv Detail & Related papers (2025-09-22T11:37:15Z) - Hot Topics and Common Challenges: an Empirical Study of React Discussions on Stack Overflow [0.07539652433311492]
This study investigates the most frequently discussed keywords, error classification, and user reputation-based errors on Stack Overflow.<n>The results show the top eight most frequently used keywords on React-related questions, namely, code, link, vir, href, connect, azure, windows, and website.<n>Algorithm error is the most frequent issue faced by all groups of users, where mid-reputation users contribute the most, accounting for 55.77%.
arXiv Detail & Related papers (2025-07-21T13:49:20Z) - React-tRace: A Semantics for Understanding React Hooks [0.7705234721762716]
We formalize the semantics of the essence of React Hooks we name React-tRace.<n>Our model captures the behavior of React, by theoretically showing that it embodies essential properties of Hooks.<n>We showcase a practical visualization tool based on the formalization to demonstrate how developers can better understand the semantics of Hooks.
arXiv Detail & Related papers (2025-07-07T17:42:17Z) - Exploring React Library Related Questions on Stack Overflow: Answered vs. Unanswered [0.09363323206192666]
This study aims to analyze the factors associated with question answerability and difficulty levels of React-related questions on Stack Overflow (SO)<n>To facilitate our study, Exploratory Data Analysis was applied to 534,820 questions, where they are filtered based on 23 React-related tags.<n>The results show that some attributes, such as number of views, code snippet inclusion, number of lines of code, and user reputation, positively affect the likelihood of question answerability.
arXiv Detail & Related papers (2025-07-06T13:45:40Z) - Improving Front-end Performance through Modular Rendering and Adaptive Hydration (MRAH) in React Applications [0.0]
We propose a pattern combining a modular rendering pipeline with an adaptive hydration strategy to optimize performance in React and Next.js applications.
The approach breaks the interface into distinct modules that can be rendered and hydrated independently.
By reducing the amount of JavaScript executed on page load and by scheduling work intelligently, this architecture aims to improve key performance metrics.
arXiv Detail & Related papers (2025-04-04T19:11:30Z) - ReuseDroid: A VLM-empowered Android UI Test Migrator Boosted by Active Feedback [11.624163693084446]
We propose REUSEDROID, a novel multiagent framework for GUI test migration empowered by Large Vision-Language Models (VLMs)
An insight of REUSEDROID is to migrate tests based only on the core logic shared across similar apps, while their entire operational logic could differ.
We evaluate REUSEDROID on LinPro, a new test migration dataset that consists of migration tasks for 39 popular apps across 4 categories.
arXiv Detail & Related papers (2025-04-03T07:45:09Z) - Bridging Design and Development with Automated Declarative UI Code Generation [18.940075474582564]
Declarative UI frameworks have gained widespread adoption in mobile app development, offering benefits such as improved code readability and easier maintenance.
Recent advancements in multimodal large language models (MLLMs) have shown promise in directly generating mobile app code from user interface (UI) designs.
We propose DeclarUI, an automated approach that synergizes computer vision (CV), MLLMs, and iterative compiler-driven optimization to generate and refine declarative UI code from designs.
arXiv Detail & Related papers (2024-09-18T03:04:12Z) - CRUD-Capable Mobile Apps with R and shinyMobile: a Case Study in Rapid Prototyping [0.0]
"Harden" is a Progressive Web Application (PWA) for Ecological Momentary Assessment (EMA) developed mostly in R.
It leverages the shinyMobile package for creating a reactive mobile user interface (UI)
This paper outlines the methodology used to create the Harden application, and discusses the advantages and limitations of the shinyMobile approach to app development.
arXiv Detail & Related papers (2024-09-01T02:27:36Z) - JavaScript Dead Code Identification, Elimination, and Empirical
Assessment [13.566269406958966]
We present Lacuna, an approach for automatically detecting and eliminating JavaScript dead code from web apps.
We conduct an experiment to empirically evaluate the run-time overhead of JavaScript dead code in terms of energy consumption, performance, network usage, and resource usage in the context of mobile web apps.
arXiv Detail & Related papers (2023-08-31T13:48:39Z) - GPT4RoI: Instruction Tuning Large Language Model on Region-of-Interest [51.68383826362895]
We propose spatial instruction tuning, which introduces the reference to the region-of-interest(RoI) in the instruction.
Our model GPT4RoI, trained on 7 region-text pair datasets, brings an unprecedented interactive and conversational experience.
arXiv Detail & Related papers (2023-07-07T13:43:44Z) - ReactGenie: A Development Framework for Complex Multimodal Interactions Using Large Language Models [12.0218963520643]
multimodal interfaces can surpass the efficiency of either modality alone.
This paper presents ReactGenie, a programming framework that better separates multimodal input from the computational model.
Our evaluation showed that 12 developers can learn and build a nontrivial ReactGenie application in under 2.5 hours on average.
arXiv Detail & Related papers (2023-06-16T06:53:26Z) - OpenMixup: Open Mixup Toolbox and Benchmark for Visual Representation Learning [53.57075147367114]
We introduce OpenMixup, the first mixup augmentation and benchmark for visual representation learning.
We train 18 representative mixup baselines from scratch and rigorously evaluate them across 11 image datasets.
We also open-source our modular backbones, including a collection of popular vision backbones, optimization strategies, and analysis toolkits.
arXiv Detail & Related papers (2022-09-11T12:46:01Z) - Text2App: A Framework for Creating Android Apps from Text Descriptions [5.694344021692763]
Text2App is a framework that allows users to create functional Android applications from natural language specifications.
We transform natural language into an abstract intermediate formal language representing an application with a substantially smaller number of tokens.
This abstraction of programming details allows seq2seq networks to learn complex application structures with less overhead.
arXiv Detail & Related papers (2021-04-16T18:13:10Z) - Emerging App Issue Identification via Online Joint Sentiment-Topic
Tracing [66.57888248681303]
We propose a novel emerging issue detection approach named MERIT.
Based on the AOBST model, we infer the topics negatively reflected in user reviews for one app version.
Experiments on popular apps from Google Play and Apple's App Store demonstrate the effectiveness of MERIT.
arXiv Detail & Related papers (2020-08-23T06:34:05Z) - RepPoints V2: Verification Meets Regression for Object Detection [65.120827759348]
We introduce verification tasks into the localization prediction of RepPoints.
RepPoints v2 provides consistent improvements of about 2.0 mAP over the original RepPoints.
We show that the proposed approach can more generally elevate other object detection frameworks as well as applications such as instance segmentation.
arXiv Detail & Related papers (2020-07-16T17:57:08Z) - Local-Global Video-Text Interactions for Temporal Grounding [77.5114709695216]
This paper addresses the problem of text-to-video temporal grounding, which aims to identify the time interval in a video semantically relevant to a text query.
We tackle this problem using a novel regression-based model that learns to extract a collection of mid-level features for semantic phrases in a text query.
The proposed method effectively predicts the target time interval by exploiting contextual information from local to global.
arXiv Detail & Related papers (2020-04-16T08:10:41Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.