Skip to content

JavaScript: Support simple data flow through Electron IPC#936

Merged
semmle-qlci merged 7 commits intogithub:masterfrom
xiemaisi:js/revive-electron-support
Feb 25, 2019
Merged

JavaScript: Support simple data flow through Electron IPC#936
semmle-qlci merged 7 commits intogithub:masterfrom
xiemaisi:js/revive-electron-support

Conversation

@xiemaisi
Copy link

This PR resurrects @rdmarsh2's work in #41 on tracking data flow across Electron IPC calls.

Evaluation is still ongoing, but on electron-many.slugs and big-apps.slugs there were no performance regressions and no result changes, so I thought it might be a good idea to put this up for review now.

@xiemaisi xiemaisi added JS WIP This is a work-in-progress, do not merge yet! labels Feb 13, 2019
@xiemaisi xiemaisi requested a review from a team as a code owner February 13, 2019 10:28
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM, see comments. Do we want to mention this in the change notes?

ghost
ghost previously approved these changes Feb 14, 2019
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Waiting for the evalution to finish.
(I still think we should mention the improved model of Electron in the changenotes.)

@xiemaisi xiemaisi force-pushed the js/revive-electron-support branch from f7d8309 to 0635e1b Compare February 23, 2019 21:46
@xiemaisi
Copy link
Author

Here is the evaluation (internal link). TLDR: No result changes, and no significant performance regressions except on gecko-dev, which shows a 6% slowdown. However, that's only for the security suite, so for the full analysis suite it should be below 5%.

@xiemaisi xiemaisi removed the WIP This is a work-in-progress, do not merge yet! label Feb 24, 2019
@semmle-qlci semmle-qlci merged commit 58cc8d0 into github:master Feb 25, 2019
@xiemaisi xiemaisi deleted the js/revive-electron-support branch March 13, 2019 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants