Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feature/support more prototype features#466

Open
Yi2255 wants to merge 1 commit intogoogleprojectzero:main from
Yi2255:feature-proto
Open

feature/support more prototype features #466
Yi2255 wants to merge 1 commit intogoogleprojectzero:main from
Yi2255:feature-proto

Conversation

@Yi2255
Copy link
Contributor

@Yi2255 Yi2255 commented Nov 14, 2024
edited
Loading

At the moment, it seems to me that fuzzilli implements read and write operations on the __proto__ property , and does not implement delete operations on it.
In addition, in practical use, the __proto__ property points to a complete object literal. It is often necessary to perform more granular operations, such as addition, deletion, or modification, on this object (where modification and addition share the same syntax). Below are examples of each operation :
obj.__proto__.a = 1
x = obj.__proto__.a
delete obj.__proto__.a

Similarly, the implementation of the constructor's prototype is missing, as exemplified by the following:
Class.prototype = {}
obj = Class.prototype
delete Class.prototype
More granular property manipulation, for example, is as follows:
Class.prototype.a = 1
x = Class.prototype.a
delete Class.prototype.a

So here we add some corresponding codeGenerators to cover the above scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /