[Eva] Small changes to the new Callstack interface.
- The callstack type is not private anymore. Only the current callstack in Eva_utils should not be modified without using push/pop; everywhere else, functions can freely create callstacks if needed. Removes function [change_thread], as it is now useless. - [pop] only returns the new callstack: this simplifies all its current uses. - new function [last_caller] returning the function from the penultimate call. - new function [pretty_debug] to allow using Hptmap on callstacks.
Showing
- src/kernel_services/abstract_interp/eva_types.ml 9 additions, 6 deletionssrc/kernel_services/abstract_interp/eva_types.ml
- src/kernel_services/abstract_interp/eva_types.mli 5 additions, 4 deletionssrc/kernel_services/abstract_interp/eva_types.mli
- src/plugins/eva/Eva.mli 4 additions, 3 deletionssrc/plugins/eva/Eva.mli
- src/plugins/eva/engine/function_calls.ml 6 additions, 5 deletionssrc/plugins/eva/engine/function_calls.ml
- src/plugins/eva/types/callstack.mli 6 additions, 3 deletionssrc/plugins/eva/types/callstack.mli
- src/plugins/eva/utils/eva_utils.ml 1 addition, 5 deletionssrc/plugins/eva/utils/eva_utils.ml
Loading
Please register or sign in to comment