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

Support binary target_obj in scratch creation #943

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

encounter
Copy link
Contributor

Also support --disassemble= in diff_flags, so the scratch can be limited to a single function within the object.

Example:
object.zip

curl -v http://127.0.0.1:8000/api/scratch \
  -F compiler=mwcc_242_81 \
  -F platform=gc_wii \
  -F compiler_flags=-lang=c++ \
  -F diff_label=__copy_longs_unaligned \
  -F target_obj=@mem_funcs.o \
  -F 'diff_flags=["--disassemble=__copy_longs_unaligned"]'
  -F context= \
  -F source_code= \

Note that the object contains 3 functions, but the final scratch is properly filtered down to just __copy_longs_unaligned, because of the value passed for diff_flags.

Resolves #215

Also support `--disassemble=` in `diff_flags`,
so the scratch can be limited to a single function
within the object.

Resolves decompme#215
Remove `-D` from `skip_flags_with_args`,
we want to keep defines.
@ethteck ethteck merged commit 5369f81 into decompme:main Jan 17, 2024
7 checks passed
@encounter encounter deleted the upload-obj branch January 17, 2024 07:01
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.

Upload object file as base
3 participants