(address)
| 235 | # 0 type mismatch of input address |
| 236 | # 1 valid address at target binary |
| 237 | def check_address(address): |
| 238 | try: |
| 239 | if idaapi.isEnabled(address): |
| 240 | return 1 |
| 241 | else: |
| 242 | return -1 |
| 243 | except: |
| 244 | # invalid type |
| 245 | return 0 |
| 246 | |
| 247 | ### resolve IDA names from input asm code |
| 248 | # todo: a better syntax parser for all archs |
no outgoing calls
no test coverage detected