forked from angr/angr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support passing and returning structs in calling conventions (angr#2961)
* Refactor SimCC to be able to support struct parameters * Implement microsoft amd64 cc struct passing * Implement cdecl and stdcall struct passing * Implement return value storage for linux amd64 * Implement struct returning for x86 arches, I think? * Fix some issues regarding func_ty in kb Functions and SimProcedures * Perform some lies * Remove test_cc; it is a less comprehensive version of test_callable * oh god help me * change self.arg to self.va_arg (different semantics) in simprocedure * Fix (?) a few usages of cc in static analysis * s/func_ty/prototype/ * Fix procedures to return the right sized value for ints * Minor fixes * More ints * simproc fixes * I swear to god I'll get these sizes right * java cc fixes * No more sp_deltas and friends * Yet more fixes * I swear to god * WHERE the hell did all these failing tests come from * Adapt CallingConventionAnalysis to the latest changes. * Function: Differentiate guessed prototypes and deduced prototypes. * Fix test cases in test_calling_convention_analysis.py. * Fix more test cases in test_calling_convention_analysis.py. * Java hell is defeated * clarify comment * Not sure what this is about Co-authored-by: Fish <[email protected]>
- Loading branch information
Showing
86 changed files
with
1,355 additions
and
1,185 deletions.
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
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
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.