Software porting support with component-based and language neutral source code analysis
by Pasquale Cantiello; Beniamino Di Martino
International Journal of Computational Science and Engineering (IJCSE), Vol. 9, No. 3, 2014

Abstract: During their lifetimes, programs are subject to modifications, not only to implement new features or to correct bugs, but also to adapt them to new hardware architectures. Parallel environments as multi/many-cores CPUs or GPUs require source code transformations to extract parallelisable regions of code and to allocate workloads on devices. This process requires not only skilled developers, but mainly a deep comprehension of the semantics of the code. In this work is presented a technique and its prototype implementation for component based and language neutral static program analysis that can assist developers in the analysis, comprehension and transformation of code. Source code is statically analysed and modelled with a language neutral representation conceived to permit interoperability between tool components and plugins. This model is designed as a class hierarchy, and implemented in a library to be used by user-developed add-ons. Parsers for two languages, control flow, data flow, data dependence analysis modules have been implemented or integrated. An algorithmic recogniser has also been integrated: basic algorithmic concepts are extracted in order to feed a knowledge base, upon which an external reasoner can do queries to find instances of known algorithms.

Online publication date: Sat, 24-May-2014

The full text of this article is only available to individual subscribers or to users at subscribing institutions.

 
Existing subscribers:
Go to Inderscience Online Journals to access the Full Text of this article.

Pay per view:
If you are not a subscriber and you just want to read the full contents of this article, buy online access here.

Complimentary Subscribers, Editors or Members of the Editorial Board of the International Journal of Computational Science and Engineering (IJCSE):
Login with your Inderscience username and password:

    Username:        Password:         

Forgotten your password?


Want to subscribe?
A subscription gives you complete access to all articles in the current issue, as well as to all articles in the previous three years (where applicable). See our Orders page to subscribe.

If you still need assistance, please email subs@inderscience.com