Skip to content

SternI/IdaCalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IdaCalc - Programming Calculator for IDA Pro

IdaCalc is a lightweight programming calculator plugin for IDA Pro, designed to simplify calculations during reverse engineering or low-level programming tasks. It supports hexadecimal, decimal, binary, common bitwise operations, and unsigned arithmetic with configurable bit widths. Clipboard integration and a history feature make repeated calculations easy.

Screenshot


Features

  • Supports hexadecimal, decimal, and binary numbers.
  • Common operations: +, -, *, /, bitwise &, |, ^, <<, >>.
  • Unsigned mode with configurable bit width (8, 16, 32, 64).
  • Converts results automatically to hex, decimal, and binary.
  • Copy results to clipboard as hex, decimal, or little-endian hex bytes.
  • History feature: click on previous expressions to reuse them.
  • Hotkey support: Ctrl+Shift+C to open the calculator quickly.

Installation

  1. Copy IdaCalc-x.x.py into your IDA Pro plugins directory:

    <IDA_INSTALL_DIR>/plugins/
    
  2. Restart IDA Pro if it was already running.

  3. Open the calculator with Ctrl+Shift+C or via the IDA Plugins menu.


Usage

  1. Enter an expression in the input box, e.g:

    0x12345678 - 0x67
    
  2. Click Calculate or press Enter.

  3. View results in Hex, Decimal, or Binary.

  4. Click Copy Hex, Copy Dec, or Copy as Hex Bytes to copy results to the clipboard.

  5. Double-click a previous calculation in the History section to reuse it.


Supported Operations

Operator Description
+ Addition
- Subtraction
* Multiplication
/ Integer division
^ Power
& Bitwise AND
| Bitwise OR
<< Left shift
>> Right shift

Requirements

IDA Pro 9.2+

  • Python 3.x support in IDA
  • PySide6 installed (pip install PySide6 if needed)

Contributing

Feel free to open issues or submit pull requests. Suggestions for additional operations, UX improvements, or bug fixes are welcome. Future versions for other IDA releases may be added.


License

MIT License — see LICENSE for details.


Support / Donate

💖 Support my work

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages