Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove code fixing features in JCC #13076

Merged
merged 3 commits into from
Feb 21, 2025
Merged

Remove code fixing features in JCC #13076

merged 3 commits into from
Feb 21, 2025

Conversation

DonggeLiu
Copy link
Contributor

Code fixing features are no longer required, but its main structure may be reused later.

@DonggeLiu
Copy link
Contributor Author

/gcbrun skip

@DonggeLiu DonggeLiu enabled auto-merge (squash) February 19, 2025 23:08
WriteStdErrOut(fullCmdArgs, out, errstr)
fmt.Println("\nFix failure")
os.Exit(retcode)
os.Exit(0)
Copy link
Collaborator

Choose a reason for hiding this comment

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

rather than only calling WriteStdErrOut and os.Exit() when retcode == 0, I think we need to do this in all cases?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, fixed.

@DonggeLiu
Copy link
Contributor Author

/gcbrun skip

fullCmdArgs := append([]string{bin}, newArgs...)
retcode, out, errstr := Compile(bin, newArgs)
WriteStdErrOut(fullCmdArgs, out, errstr)
os.Exit(0)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: os.Exit(retcode) ?

@DonggeLiu
Copy link
Contributor Author

/gcbrun skip

@DonggeLiu DonggeLiu disabled auto-merge February 21, 2025 00:57
@DonggeLiu DonggeLiu merged commit 1472130 into master Feb 21, 2025
19 checks passed
@DonggeLiu DonggeLiu deleted the jcc-keep-main branch February 21, 2025 00:58
@DonggeLiu
Copy link
Contributor Author

I did not update JCC binaries in gbucket, which are no longer in use.
google/oss-fuzz-gen#802

@jonathanmetzman
Copy link
Contributor

Code fixing features are no longer required, but its main structure may be reused later.

I have an important use in mind for the wrapper that isn't bug fixing. So thank you very much for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants