Commit Graph

13 Commits

Author SHA1 Message Date
Akhil G c6600cfc8d add __int__, __hash__, __eq__ methods and missing annotations to Token, Local, and Argument classes (#103)
* add __int__, __hash__, __eq__ methods and missing annotations to Token, Local, and Argument classes

* Removal of redundant cast. Lint checked.
2024-03-20 09:47:25 -06:00
Mike Hunhoff 046f4dbb87 fix off-by-one in CilMethodBody.get_*_bytes methods (#54) 2023-02-28 16:55:13 -07:00
dependabot[bot] e653efd3f1 Bump black from 22.12.0 to 23.1.0 (#49)
* Bump black from 22.12.0 to 23.1.0

Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump black from 22.12.0 to 23.1.0

Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix formatting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
2023-02-28 16:46:57 -07:00
Mike Hunhoff f6df7ff6c2 Update version.py 2022-12-12 12:02:19 -07:00
Mike Hunhoff b1763a3609 fix unhandled read exception (#41)
* reader: throw MethodBodyFormatError for read exceptions
2022-12-12 11:48:28 -07:00
Mike Hunhoff 1f13d8f5ed Update version.py 2022-07-21 08:38:57 -06:00
Mike Hunhoff 98d355700e update types for read_inline_i/s/8 (#22) 2022-07-15 17:01:18 -06:00
Manuel Blatt fc54f50e75 read branch targets as signed integers (#18) 2022-06-30 10:03:00 -06:00
Mike Hunhoff bdfdcfb31c fixes #3; update print_cil_from_dn_file.py 2022-04-05 10:25:56 -06:00
Mike Hunhoff ca4b1e3540 adding __int__ to Instruction and CilMethodBody 2022-04-04 18:34:47 -06:00
Mike Hunhoff 47690ac0b8 fix #6; update print_cil_from_dn_file.py to use file offsets; fix bug in inline branch target parsing 2022-04-04 17:03:33 -06:00
Mike Hunhoff afaabb3d96 fixes #4 2022-04-04 14:01:01 -06:00
Mike Hunhoff 792f33fd6d init commit 2022-03-30 12:51:42 -06:00