Majumdar, S. orcid.org/0000-0003-3935-4087, Chatterjee, N., Sahoo, S.R. et al. (1 more author) (2016) D-Cube: Tool for Dynamic Design Discovery from Multi-threaded Applications Using PIN. In: 2016 IEEE International Conference on Software Quality, Reliability and Security (QRS). 2016 IEEE International Conference on Software Quality, Reliability and Security (QRS), 01-03 Aug 2016, Vienna, Austria. Institute of Electrical and Electronics Engineers, pp. 25-32. ISBN: 978-1-5090-4128-2.
Abstract
Program comprehension is a major challenge for system maintenance. Reverse engineering has been employed for control-flow analysis of applications but not much work has been done for comprehending concurrent non-deterministic behavior of multi-threaded applications. We present D-CUBE, built using dynamic instrumentation APIs, which plugs in during execution and infers various thread models like concurrency, safety, data access, thread-pool state, exception model etc. for multi-threaded applications at runtime. We extract run-time events traced according to pre-specified logic and feed them to decision trees for inference. We use 3 benchmark suites (LOC: 50-3200) – CDAC Pthreads benchmark [1] (18 Cases), Open POSIX Test-Suites [2] (21 Cases) and PARSEC 3.0 benchmarks [3] (3 Cases) for accuracy and volume testing and validate our approach by comparing the documented behavior of test-suites with D-CUBE'S output models. We achieve over 90% accuracy. D-CUBE produces graphical event-traces with every inference for quick and effective comprehension of large code.
Metadata
| Item Type: | Proceedings Paper |
|---|---|
| Authors/Creators: |
|
| Keywords: | Concurrency Models; Multi-threaded Program Analysis; Dynamic Instrumentation; Execution Patterns; Program Comprehension; Reverse-Engineering |
| Dates: |
|
| Institution: | The University of Leeds |
| Academic Units: | The University of Leeds > Faculty of Engineering & Physical Sciences (Leeds) > School of Computing (Leeds) |
| Date Deposited: | 09 Feb 2026 11:23 |
| Last Modified: | 09 Feb 2026 11:23 |
| Published Version: | https://ieeexplore.ieee.org/document/7589781 |
| Status: | Published |
| Publisher: | Institute of Electrical and Electronics Engineers |
| Identification Number: | 10.1109/qrs.2016.13 |
| Related URLs: | |
| Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:237545 |

CORE (COnnecting REpositories)
CORE (COnnecting REpositories)