Skip to main content
  1. Home
  2. Space
  3. Computing
  4. Web
  5. News

This new tool from MIT can debug a program in a minute

Add as a preferred source on Google

If you’ve got a minute, you’ve got enough time to find bugs in your Ruby on Rails-based Web application. It’s not because you’re necessarily oh so adept at debugging your own code (though you may be), but rather thanks to a new tool from MIT. A new debugger from the Massachusetts Institute of Technology takes no more than 64 seconds to analyze any program and find its problems.

By taking advantage of certain idiosyncrasies inherent to the Ruby language, the MIT system was able to find 23 unnoticed security issues in 50 popular Web applications. But most impressive of all, the tool took no more than 64 seconds to analyze any single app.

Recommended Videos

This is made possible by Ruby’s reliance on defining very basic operations in libraries. When MIT researchers rewrote those libraries, the operations contained in those collections were forced to describe their behavior using a logical language. This, Katherine Noyes of the IDG News Service explains, “turns the Rails interpreter, which converts high-level Rails programs into machine-readable code, into a static-analysis tool that describes how data flows through the program.” Ultimately, researchers were left with a line-by-line breakdown of how a program interprets data.

MIT has named its debugging tool Space, and it focuses specifically on an application’s data-access procedures. This allows researchers to see what operations a user can exercise on certain data, and in what scenarios. Based on the descriptions the rewritten libraries provide, Space can tell how closely a program follows protocol — deviations suggest a security flaw.

“When you look at something like a Web application written in language like Ruby on Rails, if you try to do a conventional static analysis, you typically find yourself mired in this huge bog,” said Daniel Jackson, professor in the Department of Electrical Engineering and Computer Science in a statement to MIT News. “And this makes it really infeasible in practice.” But thanks to Space, scientists now have a much more feasible solution.

Full results of the study will be presented next month at the International Conference on Software Engineering held in Austin, Texas.

Lulu Chang
Fascinated by the effects of technology on human interaction, Lulu believes that if her parents can use your new app…
Scientists have found a hidden galaxy inside the Milky Way, and they’re calling it Loki
A lost dwarf galaxy may be hiding inside the Milky Way.
milky-way-hidden-galaxy-loki

Our home galaxy has a secret buried inside. A new study published in the Monthly Notices of the Royal Astronomical Society suggests that the Milky Way swallowed an ancient dwarf galaxy billions of years ago, and its stellar remains are still embedded within ours.

Researchers have named this lost galaxy Loki, after the Norse trickster god, and the name is quite fitting because it remained hidden in plain sight for a very long time.

Read more
NASA aims September launch for Roman space telescope and it’s going to be a huge shift
An earlier target for Roman means one of NASA’s most ambitious observatories is getting close, with the potential to open a huge new era in space discovery
Machine, Wheel, Astronomy

NASA is now aiming to launch the Nancy Grace Roman Space Telescope as soon as early September 2026, a faster timeline than its earlier commitment to fly no later than May 2027. That alone makes this one of the agency’s most important missions to watch over the next few months.

The reason is simple, Roman is built to scan vast parts of the sky with sharp infrared vision.

Read more
Blue Origin successfully re-uses a New Glenn rocket for the first time ever
Blue Origin achieves first New Glenn reflight despite payload setback
Blue Origin

Blue Origin has achieved a major milestone in its spaceflight ambitions by successfully reusing a booster from its heavy-lift New Glenn rocket for the first time. The historic launch, conducted on April 19, marks a significant step forward for Jeff Bezos’ space company as it seeks to compete with rivals like SpaceX in the rapidly evolving commercial launch market.

A Milestone With A Mixed Outcome

Read more