Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


NEWS OF SCIENCE AND TECHNOLOGY, NOVELTY IN ELECTRONICS
Free technical library / timeline

Self-healing software

08.07.2015

Researchers at the MIT Laboratory for Computing and Artificial Intelligence have developed a system called Code Phage that automatically fixes bugs in open source applications. Code Phage is capable of correcting errors resulting from out-of-bounds parameters, integer overflows, and division by zero, according to a publication by the researchers on the Association for Computing Machinery website.

For the system to work, it is necessary to have two input parameters that are entered into the target application, with the condition that one of the parameters causes the program to fail. Code Phage uses the database to look for a donor application that can process both inputs without crashing. It is assumed that such an application contains some kind of check condition that prevents failure and is not present in the target application. The goal is to move this check from the donor application to the target application that needs to be fixed.

To find the test condition in the donor application and understand how it works, Code Phage runs the donor application first with the "good" parameter, and then with the "failed" parameter (that is, causing the crash in the original program). With each "run" the system builds a chain of logical operations occurring in the program until it finds a branch of these chains - the place where the test condition is located.

Using the results of the analysis (symbolic expressions), the system recreates and integrates a similar check into the original application in the language in which it was written. At the same time, Code Phage works with binary donors, that is, it does not need to know the source code of donor applications, since it analyzes their logic.

In their experiment, the researchers were able to fix bugs in seven popular open source applications using 2-4 donors for each. It took from 2 to 10 minutes to correct each error.

According to the researchers, the advantage of Code Phage is that the system can take programs written in different languages ​​as donors, as long as they work in a similar way. There are millions of applications on the Internet that can be used as donors.

<< Back: iiyama ProLite XU2490HS-B1 and XU2590HS-B1 monitors 08.07.2015

>> Forward: Owls and silence of propellers 07.07.2015

Latest news of science and technology, new electronics:

The existence of an entropy rule for quantum entanglement has been proven 09.05.2024

Quantum mechanics continues to amaze us with its mysterious phenomena and unexpected discoveries. Recently, Bartosz Regula from the RIKEN Center for Quantum Computing and Ludovico Lamy from the University of Amsterdam presented a new discovery that concerns quantum entanglement and its relation to entropy. Quantum entanglement plays an important role in modern quantum information science and technology. However, the complexity of its structure makes understanding and managing it challenging. Regulus and Lamy's discovery shows that quantum entanglement follows an entropy rule similar to that for classical systems. This discovery opens new perspectives in the field of quantum information science and technology, deepening our understanding of quantum entanglement and its connection to thermodynamics. The results of the study indicate the possibility of reversibility of entanglement transformations, which could greatly simplify their use in various quantum technologies. Opening a new rule ... >>

Mini air conditioner Sony Reon Pocket 5 09.05.2024

Summer is a time for relaxation and travel, but often the heat can turn this time into an unbearable torment. Meet a new product from Sony - the Reon Pocket 5 mini-air conditioner, which promises to make summer more comfortable for its users. Sony has introduced a unique device - the Reon Pocket 5 mini-conditioner, which provides body cooling on hot days. With it, users can enjoy coolness anytime, anywhere by simply wearing it around their neck. This mini air conditioner is equipped with automatic adjustment of operating modes, as well as temperature and humidity sensors. Thanks to innovative technologies, Reon Pocket 5 adjusts its operation depending on the user's activity and environmental conditions. Users can easily adjust the temperature using a dedicated mobile app connected via Bluetooth. Additionally, specially designed T-shirts and shorts are available for convenience, to which a mini air conditioner can be attached. The device can oh ... >>

Energy from space for Starship 08.05.2024

Producing solar energy in space is becoming more feasible with the advent of new technologies and the development of space programs. The head of the startup Virtus Solis shared his vision of using SpaceX's Starship to create orbital power plants capable of powering the Earth. Startup Virtus Solis has unveiled an ambitious project to create orbital power plants using SpaceX's Starship. This idea could significantly change the field of solar energy production, making it more accessible and cheaper. The core of the startup's plan is to reduce the cost of launching satellites into space using Starship. This technological breakthrough is expected to make solar energy production in space more competitive with traditional energy sources. Virtual Solis plans to build large photovoltaic panels in orbit, using Starship to deliver the necessary equipment. However, one of the key challenges ... >>

New method for creating powerful batteries 08.05.2024

With the development of technology and the expanding use of electronics, the issue of creating efficient and safe energy sources is becoming increasingly urgent. Researchers at the University of Queensland have unveiled a new approach to creating high-power zinc-based batteries that could change the landscape of the energy industry. One of the main problems with traditional water-based rechargeable batteries was their low voltage, which limited their use in modern devices. But thanks to a new method developed by scientists, this drawback has been successfully overcome. As part of their research, scientists turned to a special organic compound - catechol. It turned out to be an important component that can improve battery stability and increase its efficiency. This approach has led to a significant increase in the voltage of zinc-ion batteries, making them more competitive. According to scientists, such batteries have several advantages. They have b ... >>

Alcohol content of warm beer 07.05.2024

Beer, as one of the most common alcoholic drinks, has its own unique taste, which can change depending on the temperature of consumption. A new study by an international team of scientists has found that beer temperature has a significant impact on the perception of alcoholic taste. The study, led by materials scientist Lei Jiang, found that at different temperatures, ethanol and water molecules form different types of clusters, which affects the perception of alcoholic taste. At low temperatures, more pyramid-like clusters form, which reduces the pungency of the "ethanol" taste and makes the drink taste less alcoholic. On the contrary, as the temperature increases, the clusters become more chain-like, resulting in a more pronounced alcoholic taste. This explains why the taste of some alcoholic drinks, such as baijiu, can change depending on temperature. The data obtained opens up new prospects for beverage manufacturers, ... >>

Random news from the Archive

Natural eco-friendly glue 24.07.2012

Most of the things around us are glued together. Scientists at the Fraunhofer Institute (UMSICHT) see this as a problem, since adhesives are still predominantly made from petroleum feedstocks. Thus, only in Germany in 2010 more than 820 thousand tons of glue were produced. However, adhesives can be made from renewable raw materials such as proteins, natural rubber, starch or cellulose. Researchers at UMSICHT are working to develop new formulas for the adhesive needed to make shoes, cars, airplanes, wind turbine blades, self-adhesive stickers, plaster, and more.

Scientists are developing a new pressure-sensitive adhesive for industrial applications. Such glue is suitable for a lot of household items: patches, adhesive tapes, labels, etc. The requirements for this type of adhesive are quite high: it must retain its properties at room temperature for a long time, stick together at low pressure, but at the same time be easily peeled off surfaces. German researchers have focused on the development of a polylactic acid polymer adhesive. This biological material is inexpensive and is produced on an industrial scale, which in the future will make it possible to abandon the use of oil as a raw material.

However, the properties of lactic acid polymer are fundamentally different from the polymers used today, in particular from polyacrylates and styrene. This means that scientists must develop an entirely new formula for the adhesive. This is quite possible - nature is an example of this. So, the mollusk Dosima fascicularis produces a special glue with which it is attached to the bottom of ships. This superglue is so strong that it is almost impossible to unhook the clam from the boat even with strong solvents. At the same time, it has a special property - it sticks together even under water.

German scientists are trying to create a similar water-dispersion adhesive, the components of which are dissolved in water. Researchers are currently trying to figure out which amino acids make up biological superglue proteins. If successful, it will be possible not only to abandon oil raw materials and improve household items such as adhesive tape, but also create, for example, medical adhesives for closing wounds and “repairing” broken bones.

See full Archive of science and technology news, new electronics


All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024