Skip to content

Commit

Permalink
Merge pull request #3 from ddash-ct/usercall-func-sig
Browse files Browse the repository at this point in the history
Add missing CM_CC_SPECIALE enumeration for usercall with an ellipse
  • Loading branch information
dc3-tsd authored Feb 7, 2023
2 parents 80419d6 + a0e472f commit 7f71070
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.7.1] - 2023-02-07
- Add missing [CM_CC_SPECIALE](https://hex-rays.com/products/ida/support/idapython_docs/ida_typeinf.html#ida_typeinf.CM_CC_SPECIALE) enum for a usercall with an ellipse - @ddash-ct


## [0.7.0] - 2023-01-25
- Add equality handling for `Function` objects based on start address.
- Added `Disassembler.create_segment()` for creating a basic segment memory block.
Expand Down Expand Up @@ -114,7 +118,8 @@
- Initial release


[Unreleased]: https://github.com/dod-cyber-crime-center/dragodis/compare/0.7.0...HEAD
[Unreleased]: https://github.com/dod-cyber-crime-center/dragodis/compare/0.7.1...HEAD
[0.7.1]: https://github.com/dod-cyber-crime-center/dragodis/compare/0.7.0...0.7.1
[0.7.0]: https://github.com/dod-cyber-crime-center/dragodis/compare/0.6.0...0.7.0
[0.6.0]: https://github.com/dod-cyber-crime-center/dragodis/compare/0.5.3...0.6.0
[0.5.3]: https://github.com/dod-cyber-crime-center/dragodis/compare/0.5.2...0.5.3
Expand Down
2 changes: 1 addition & 1 deletion dragodis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Import types from interface that may needed by users.
from dragodis.interface.types import *

__version__ = "0.7.0"
__version__ = "0.7.1"
2 changes: 2 additions & 0 deletions dragodis/ida/function_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ class IDAFunctionSignature(FunctionSignature):
0x70: "__fastcall",
0x80: "__thiscall",
0xB0: "__golang",
0xD0: "__usercall",
0xE0: "__userpurge",
0xF0: "__usercall",
}
# _cc_map_inv will end up with __usercall as 0xf0, which is the more sensible default
_cc_map_inv = {name: opcode for opcode, name in _cc_map.items()}

def __init__(self, ida: IDAFlatAPI, address: int):
Expand Down

0 comments on commit 7f71070

Please sign in to comment.