2023
Autores
Pavao, J; Bastardo, R; Rocha, NP;
Publicação
Iberian Conference on Information Systems and Technologies, CISTI
Abstract
The scoping review reported by this article aimed to analyze and synthesize state-of-the-art studies focused on the integration of cyber resilience in the implementation of smart cities. An electronic search was conducted, and 11 studies were included in this review after the selection process. According to the findings, cyber resilience represents a gap of the current research related to smart cities and, therefore, additional efforts are required to guarantee that smart cities are resilient to challenging events such as cyber-attacks or natural disasters. © 2023 ITMA.
2023
Autores
Sousa, LM; Bispo, J; Paulino, N;
Publicação
2023 32ND INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PACT
Abstract
Advancements in semiconductor technology no longer occur at the pace the industry had been accustomed to. We have entered what is considered by many to be the post-Moore era. In order to continue scaling performance, increasingly heterogeneous architectures are being developed and the use of special purpose accelerators is on the rise. One notable example are Field-Programmable-Gate-Arrays (FPGAs), both in the data-center and embedded spaces. Advances in FPGA features and tools is allowing for critical kernels to be accelerated on specialized hardware without fabrication costs. However, re-targeting code to such heterogeneous platforms still requires significant refactoring of the compute intensive kernels, as well as knowledge of parallel compute and hardware design concepts for maximization of performance. We present Tribble, a source-to-source framework under active development, capable of transforming regular C/C++ programs for execution on heterogeneous architectures. This includes transforming the target kernel source code so that it is amenable for circuit generation while keeping the original version for software execution, inserting code for task and memory management and injecting a scheduler algorithm.
2023
Autores
Gregório, N; Bispo, J; Fernandes, JP; de Medeiros, SQ;
Publicação
JOURNAL OF COMPUTER LANGUAGES
Abstract
Energy efficiency is a non-functional requirement that developers must consider, particularly when building software for battery-operated devices like mobile ones: a long-lasting battery is an essential requirement for an enjoyable user experience.In previous studies, it has been shown that many mobile applications include inefficiencies that cause battery to be drained faster than necessary. Some of these inefficiencies result from software patterns that have been catalogued, and for which more energy-efficient alternatives are also known.The existing catalogues, however, assume as a fundamental requirement that one has access to the source code of an application in order to be able to analyse it. This requirement makes independent energy analysis challenging, or even impossible, e.g. for a mobile user or, most significantly, an App Store trying to provide information on how efficient an application being submitted for publication is.We study the viability of looking for known energy patterns in applications by decompiling them and analysing the resulting code. For this, we decompiled and analysed 420 open-source applications by extending an existing tool, which is now capable of transparently decompiling and analysing android applications. With the collected data, we performed a comparative study of the presence of four energy patterns between the source code and the decompiled code.We performed two types of analysis: (i) comparing the total number of energy pattern detections; (ii) comparing the similarity between energy pattern detections. When comparing the total number of detections in source code against decompiled code, we found that 79.29% of the applications reported the same number of energy pattern detections.To test the similarity between source code and APKs, we calculated, for each application, a similarity score based on our four implemented detectors. Of all applications, 35.76% achieved a perfect similarity score of 4, and 89.40% got a score of 3 or more out of 4. Furthermore, only two applications got a score of 0.When viewed in tandem, the results of the two analyses we performed point in a promising direction. They provide initial evidence that static analysis techniques, typically used in source code, can be a viable method to inspect APKs when access to source code is restricted, and further research in this area is worthwhile.
2023
Autores
Bispo, J; Charles, HP; Cherubin, S; Massari, G;
Publicação
PARMA-DITAM
Abstract
2023
Autores
Bispo, J; Paulino, N; Sousa, LM;
Publicação
PARMA-DITAM
Abstract
The C/C++ compilation stack (Intermediate Representations (IRs), compilation passes and backends) is encumbered by a steep learning curve, which we believe can be lowered by complementing it with approaches such as source-to-source compilation. Source-to-source compilation is a technology that is widely used and quite mature in certain programming environments, such as JavaScript, but that faces a low adoption rate in others. In the particular case of C and C++ some of the identified factors include the high complexity of the languages, increased difficulty in building and maintaining C/C++ parsers, or limitations on using source code as an intermediate representation. Additionally, new technologies such as Multi-Level Intermediate Representation (MLIR) have appeared as potential competitors to source-to-source compilers at this level. In this paper, we present what we have identified as current challenges of source-to-source compilation of C and C++, as well as what we consider to be opportunities and possible directions forward. We also present several examples, implemented on top of the Clava source-to-source compiler, that use some of these ideas and techniques to raise the abstraction level of compiler research on complex compiled languages such as C or C++. The examples include automatic parallelization of for loops, high-level synthesis optimisation, hardware/software partitioning with run-time decisions, and automatic insertion of inline assembly for fast prototyping of custom instructions.
2023
Autores
Pereira, HP; Vasconcelos Raposo, J; Rodrigues Fernandes, H; Almeida, L; Teixeira, CM;
Publicação
REVISTA IBEROAMERICANA DE DIAGNOSTICO Y EVALUACION-E AVALIACAO PSICOLOGICA
Abstract
This study aimed to confirm a factor structure of the Portuguese version of the 9-item Resilience Scale proposed by Siu et al. (2009). Participants were 121 university students, 79 females and 42 males, attending a Portuguese higher education institution, aged between 19 and 31 years (M=20.96; SD=1.96). The results showed that the one-factor model presented good adjustment indicators (& chi;2/df=1.554, CFI=.961, NNFI=.941, GFI=.996, RMSEA=.068, SRMR=.051, AIC=79.004 e MECVI=.690). As for reliability, Cronbach's alpha was .835, and composite reliability .766, both considered acceptable. We conclude that the Portuguese version of the Resilience Scale (ER-9) presents a unifactorial structure pointing to psychometric indicators that justify its application in samples of university students.
The access to the final selection minute is only available to applicants.
Please check the confirmation e-mail of your application to obtain the access code.