657 research outputs found

    Program analysis of temporal memory mismanagement

    Full text link
    In the use of C/C++ programs, the performance benefits obtained from flexible low-level memory access and management sacrifice language-level support for memory safety and garbage collection. Memory-related programming mistakes are introduced as a result, rendering C/C++ programs prone to memory errors. A common category of programming mistakes is defined by the misplacement of deallocation operations, also known as temporal memory mismanagement, which can generate two types of bugs: (1) use-after-free (UAF) bugs and (2) memory leaks. The former are severe security vulnerabilities that expose programs to both data and control-flow exploits, while the latter are critical performance bugs that compromise software availability and reliability. In the case of UAF bugs, existing solutions that almost exclusively rely on dynamic analysis suffer from limitations, including low code coverage, binary incompatibility, and high overheads. In the case of memory leaks, detection techniques are abundant; however, fixing techniques have been poorly investigated. In this thesis, we present three novel program analysis frameworks to address temporal memory mismanagement in C/C++. First, we introduce Tac, the first static UAF detection framework to combine typestate analysis with machine learning. Tac identifies representative features to train a Support Vector Machine to classify likely true/false UAF candidates, thereby providing guidance for typestate analysis used to locate bugs with precision. We then present CRed, a pointer analysis-based framework for UAF detection with a novel context-reduction technique and a new demand-driven path-sensitive pointer analysis to boost scalability and precision. A major advantage of CRed is its ability to substantially and soundly reduce search space without losing bug-finding ability. This is achieved by utilizing must-not-alias information to truncate unnecessary segments of calling contexts. Finally, we propose AutoFix, an automated memory leak fixing framework based on value-flow analysis and static instrumentation that can fix all leaks reported by any front-end detector with negligible overheads safely and with precision. AutoFix tolerates false leaks with a shadow memory data structure carefully designed to keep track of the allocation and deallocation of potentially leaked memory objects. The contribution of this thesis is threefold. First, we advance existing state-of-the-art solutions to detecting memory leaks by proposing a series of novel program analysis techniques to address temporal memory mismanagement. Second, corresponding prototype tools are fully implemented in the LLVM compiler framework. Third, an extensive evaluation of open-source C/C++ benchmarks is conducted to validate the effectiveness of the proposed techniques

    Mutations that Affect the Bidirectional Electron Transfer in Photosystem I

    Get PDF
    abstract: Photosystem I (PSI) is a multi-subunit, pigment-protein complex that catalyzes light-driven electron transfer (ET) in its bi-branched reaction center (RC). Recently it was suggested that the initial charge separation (CS) event can take place independently within each ec2/ec3 chlorophyll pair. In order to improve our understanding of this phenomenon, we have generated new mutations in the PsaA and PsaB subunits near the electron transfer cofactor 2 (ec2 chlorophyll). PsaA-Asn604 accepts a hydrogen bond from the water molecule that is the axial ligand of ec2B and the case is similar for PsaB-Asn591 and ec2A. The second set of targeted sites was PsaA-Ala684 and PsaB-Ala664, whose methyl groups are present near ec2A and ec2B, respectively. We generated a number of mutants by targeting the selected protein residues. These mutations were expected to alter the energetics of the primary charge separation event. The PsaA-A684N mutants exhibited increased ET on the B-branch as compared to the A-branch in both in vivo and in vitro conditions. The transient electron paramagnetic resonance (EPR) spectroscopy revealed the formation of increased B-side radical pair (RP) at ambient and cryogenic temperatures. The ultrafast transient absorption spectroscopy and fluorescence decay measurement of the PsaA-A684N and PsaB-A664N showed a slight deceleration of energy trapping. Thus making mutations near ec2 on each branch resulted into modulation of the charge separation process. In the second set of mutants, where ec2 cofactor was target by substitution of PsaA-Asn604 or PsaB-Asn591 to other amino acids, a drop in energy trapping was observed. The quantum yield of CS decreases in Asn to Leu and His mutants on the respective branch. The P700 triplet state was not observed at room and cryogenic temperature for these mutants, nor was a rapid decay of P700+ in the nanosecond timescale, indicating that the mutations do not cause a blockage of electron transfer from the ec3 Chl. Time-resolved fluorescence results showed a decrease in the lifetime of the energy trapping. We interpret this decrease in lifetime as a new channel of excitation energy decay, in which the untrapped energy dissipates as heat through a fast internal conversion process. Thus, a variety of spectroscopic measurements of PSI with point mutations near the ec2 cofactor further support that the ec2 cofactor is involved in energy trapping process.Dissertation/ThesisDoctoral Dissertation Biochemistry 201

    Principles and Concepts of Agent-Based Modelling for Developing Geospatial Simulations

    Get PDF
    The aim of this paper is to outline fundamental concepts and principles of the Agent-Based Modelling (ABM) paradigm, with particular reference to the development of geospatial simulations. The paper begins with a brief definition of modelling, followed by a classification of model types, and a comment regarding a shift (in certain circumstances) towards modelling systems at the individual-level. In particular, automata approaches (e.g. Cellular Automata, CA, and ABM) have been particularly popular, with ABM moving to the fore. A definition of agents and agent-based models is given; identifying their advantages and disadvantages, especially in relation to geospatial modelling. The potential use of agent-based models is discussed, and how-to instructions for developing an agent-based model are provided. Types of simulation / modelling systems available for ABM are defined, supplemented with criteria to consider before choosing a particular system for a modelling endeavour. Information pertaining to a selection of simulation / modelling systems (Swarm, MASON, Repast, StarLogo, NetLogo, OBEUS, AgentSheets and AnyLogic) is provided, categorised by their licensing policy (open source, shareware / freeware and proprietary systems). The evaluation (i.e. verification, calibration, validation and analysis) of agent-based models and their output is examined, and noteworthy applications are discussed.Geographical Information Systems (GIS) are a particularly useful medium for representing model input and output of a geospatial nature. However, GIS are not well suited to dynamic modelling (e.g. ABM). In particular, problems of representing time and change within GIS are highlighted. Consequently, this paper explores the opportunity of linking (through coupling or integration / embedding) a GIS with a simulation / modelling system purposely built, and therefore better suited to supporting the requirements of ABM. This paper concludes with a synthesis of the discussion that has proceeded. The aim of this paper is to outline fundamental concepts and principles of the Agent-Based Modelling (ABM) paradigm, with particular reference to the development of geospatial simulations. The paper begins with a brief definition of modelling, followed by a classification of model types, and a comment regarding a shift (in certain circumstances) towards modelling systems at the individual-level. In particular, automata approaches (e.g. Cellular Automata, CA, and ABM) have been particularly popular, with ABM moving to the fore. A definition of agents and agent-based models is given; identifying their advantages and disadvantages, especially in relation to geospatial modelling. The potential use of agent-based models is discussed, and how-to instructions for developing an agent-based model are provided. Types of simulation / modelling systems available for ABM are defined, supplemented with criteria to consider before choosing a particular system for a modelling endeavour. Information pertaining to a selection of simulation / modelling systems (Swarm, MASON, Repast, StarLogo, NetLogo, OBEUS, AgentSheets and AnyLogic) is provided, categorised by their licensing policy (open source, shareware / freeware and proprietary systems). The evaluation (i.e. verification, calibration, validation and analysis) of agent-based models and their output is examined, and noteworthy applications are discussed.Geographical Information Systems (GIS) are a particularly useful medium for representing model input and output of a geospatial nature. However, GIS are not well suited to dynamic modelling (e.g. ABM). In particular, problems of representing time and change within GIS are highlighted. Consequently, this paper explores the opportunity of linking (through coupling or integration / embedding) a GIS with a simulation / modelling system purposely built, and therefore better suited to supporting the requirements of ABM. This paper concludes with a synthesis of the discussion that has proceeded

    Understanding Conformational Dynamics of Complex Lipid Mixtures Relevant to Biology

    Get PDF
    This is a perspective article entitled “Frontiers in computational biophysics: understanding conformational dynamics of complex lipid mixtures relevant to biology” which is following a CECAM meeting with the same name.Fil: Friedman, Ran. Linnæus University; ArgentinaFil: Khalid, Syma. University of Southampton; Reino UnidoFil: Aponte Santamaría, Camilo. Ruprecht-Karls-Universität Heidelberg; Alemania. Universidad de los Andes; ColombiaFil: Arutyunova, Elena. University of Alberta; CanadáFil: Becker, Marlon. Westfälische Wilhelms Universität; AlemaniaFil: Boyd, Kevin J.. University of Connecticut; Estados UnidosFil: Christensen, Mikkel. University Aarhus; DinamarcaFil: Coimbra, João T. S.. Universidad de Porto; PortugalFil: Concilio, Simona. Universita di Salerno; ItaliaFil: Daday, Csaba. Heidelberg Institute for Theoretical Studies; AlemaniaFil: Eerden, Floris J. van. University of Groningen; Países BajosFil: Fernandes, Pedro A.. Universidad de Porto; PortugalFil: Gräter, Frauke. Heidelberg University; Alemania. Heidelberg Institute for Theoretical Studies; AlemaniaFil: Hakobyan, Davit. Westfälische Wilhelms Universität; AlemaniaFil: Heuer, Andreas. Westfälische Wilhelms Universität; AlemaniaFil: Karathanou, Konstantina. Freie Universität Berlin; AlemaniaFil: Keller, Fabian. Westfälische Wilhelms Universität; AlemaniaFil: Lemieux, M. Joanne. University of Alberta; CanadáFil: Marrink, Siewert J.. University of Groningen; Países BajosFil: May, Eric R.. University of Connecticut; Estados UnidosFil: Mazumdar, Antara. University of Groningen; Países BajosFil: Naftalin, Richard. Colegio Universitario de Londres; Reino UnidoFil: Pickholz, Mónica Andrea. Consejo Nacional de Investigaciones Científicas y Técnicas. Oficina de Coordinación Administrativa Ciudad Universitaria. Instituto de Física de Buenos Aires. Universidad de Buenos Aires. Facultad de Ciencias Exactas y Naturales. Instituto de Física de Buenos Aires; ArgentinaFil: Piotto, Stefano. Universita di Salerno; ItaliaFil: Pohl, Peter. Johannes Kepler University; AustriaFil: Quinn, Peter. Colegio Universitario de Londres; Reino UnidoFil: Ramos, Maria J.. Universidad de Porto; PortugalFil: Schiøtt, Birgit. University Aarhus; DinamarcaFil: Sengupta, Durba. National Chemical Laboratory India; IndiaFil: Sessa, Lucia. Universita di Salerno; ItaliaFil: Vanni, Stefano. University Of Fribourg;Fil: Zeppelin, Talia. University Aarhus; DinamarcaFil: Zoni, Valeria. University of Fribourg; SuizaFil: Bondar, Ana-Nicoleta. Freie Universität Berlin; AlemaniaFil: Domene, Carmen. University of Oxford; Reino Unido. University of Bath; Reino Unid

    Developing Software Requirements for a Knowledge Management System that Coordinates Training Programs with Business Processes and Policies in Large Organizations

    Get PDF
    For large organizations, updating instructional programs presents a challenge to keep abreast of constantly changing business processes and policies. Each time a process or policy changes, significant resources are required to locate and modify the training materials that convey the new content. Moreover, without the ability to track learning objects to processes and policies, training managers cannot conduct an effective training gap analysis in these areas. As a result, the corporate training picture is unclear and instructional needs cannot be accurately determined. The research addressed these problems by recognizing the need for linkages between an organization\u27s business processes, its policies, and the learning objects that package the corresponding training content and deliver it to the workforce. The overall investigation was completed in three parts. In the first study, a thorough examination of the literature was conducted to determine the extent of the research problem and to provide a theoretical foundation for a solution. In the second study an expert panel was used to elicit user needs for a knowledge management system that addresses training management shortcomings in a large law enforcement agency. Another expert panel from that agency validated and prioritized the user needs during the third study. Through a combination of research-based elicitation and validation techniques, an accurate list of natural language software requirements emerged to represent the collective needs of the law enforcement training experts. The software requirements may now serve to analyze the capabilities of existing information technology systems or to form the basis for a request for proposal (RFP) to build the envisioned knowledge management system
    • …
    corecore