-
Notifications
You must be signed in to change notification settings - Fork 124
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 running multiple bash commands and compile in one query #736
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9a6527f
A longer delay for large exp
DonggeLiu 391a114
A new error to retry
DonggeLiu 171e1a9
Show the message has been truncated, lower input token upper bound
DonggeLiu 18e8dc4
Multiple command and compile
DonggeLiu 827b0b9
Bug fix
DonggeLiu 4d4f11a
Make line length consistent
DonggeLiu 0f2667f
Fix truncation logic
DonggeLiu 33e22ff
Testing the truncation logic on libdwarf
DonggeLiu 992729c
Revert "Testing the truncation logic on libdwarf"
DonggeLiu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[settings] | ||
src_paths=. | ||
line_length = 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
"functions": | ||
- "name": "dwarf_get_ranges_baseaddress" | ||
"params": | ||
- "name": "dw_dbg" | ||
"type": "bool " | ||
- "name": "dw_die" | ||
"type": "bool " | ||
- "name": "dw_known_base" | ||
"type": "bool " | ||
- "name": "dw_baseaddress" | ||
"type": "bool " | ||
- "name": "dw_at_ranges_offset_present" | ||
"type": "bool " | ||
- "name": "dw_at_ranges_offset" | ||
"type": "bool " | ||
- "name": "dw_error" | ||
"type": "bool " | ||
"return_type": "int" | ||
"signature": "int dwarf_get_ranges_baseaddress(Dwarf_Debug, Dwarf_Die, Dwarf_Bool *, Dwarf_Unsigned *, Dwarf_Bool *, Dwarf_Unsigned *, Dwarf_Error *)" | ||
- "name": "dwarf_init_path_a" | ||
"params": | ||
- "name": "path" | ||
"type": "bool " | ||
- "name": "true_path_out_buffer" | ||
"type": "bool " | ||
- "name": "true_path_bufferlen" | ||
"type": "int" | ||
- "name": "groupnumber" | ||
"type": "int" | ||
- "name": "universalnumber" | ||
"type": "int" | ||
- "name": "errhand" | ||
"type": "bool " | ||
- "name": "errarg" | ||
"type": "bool " | ||
- "name": "ret_dbg" | ||
"type": "bool " | ||
- "name": "error" | ||
"type": "bool " | ||
"return_type": "int" | ||
"signature": "int dwarf_init_path_a(const char *, char *, unsigned int, unsigned int, unsigned int, Dwarf_Handler, Dwarf_Ptr, Dwarf_Debug *, Dwarf_Error *)" | ||
- "name": "dwarf_debug_addr_index_to_addr" | ||
"params": | ||
- "name": "die" | ||
"type": "bool " | ||
- "name": "index" | ||
"type": "size_t" | ||
- "name": "return_addr" | ||
"type": "bool " | ||
- "name": "error" | ||
"type": "bool " | ||
"return_type": "int" | ||
"signature": "int dwarf_debug_addr_index_to_addr(Dwarf_Die, Dwarf_Unsigned, Dwarf_Addr *, Dwarf_Error *)" | ||
- "name": "dwarf_rnglists_get_rle_head" | ||
"params": | ||
- "name": "attr" | ||
"type": "bool " | ||
- "name": "theform" | ||
"type": "short" | ||
- "name": "attr_val" | ||
"type": "size_t" | ||
- "name": "head_out" | ||
"type": "bool " | ||
- "name": "entries_count_out" | ||
"type": "bool " | ||
- "name": "global_offset_of_rle_set" | ||
"type": "bool " | ||
- "name": "error" | ||
"type": "bool " | ||
"return_type": "int" | ||
"signature": "int dwarf_rnglists_get_rle_head(Dwarf_Attribute, Dwarf_Half, Dwarf_Unsigned, Dwarf_Rnglists_Head *, Dwarf_Unsigned *, Dwarf_Unsigned *, Dwarf_Error *)" | ||
- "name": "dwarf_find_die_given_sig8" | ||
"params": | ||
- "name": "dbg" | ||
"type": "bool " | ||
- "name": "ref" | ||
"type": "bool " | ||
- "name": "die_out" | ||
"type": "bool " | ||
- "name": "is_info" | ||
"type": "bool " | ||
- "name": "error" | ||
"type": "bool " | ||
"return_type": "int" | ||
"signature": "int dwarf_find_die_given_sig8(Dwarf_Debug, Dwarf_Sig8 *, Dwarf_Die *, Dwarf_Bool *, Dwarf_Error *)" | ||
"language": "c" | ||
"project": "libdwarf" | ||
"target_name": "fuzz_crc" | ||
"target_path": "/src/libdwarf/fuzz/fuzz_crc.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future work: Should we experiment with JSON formatting at some point? Let's create an issue if so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: #743