20 Commits

Author SHA1 Message Date
jtbennett-fe 78c02cc730 add support for Go runtime v1.26 (#85)
* clarify Go runtime version vs GoReSym layout version

* Add Go 1.26 support

* Cleanup debugging prints

* Remove remaining debug print in main.go

* Fix redundant nil check in pe.go

* Final touches: fix sudo in build script and rename layout convention to 1.22

* Run go fmt

* Revert unnecessary moduledata scanning changes in executable parsers

* refactor fixes

* better variable name for refactor

* Fix lots of version issues and bugs in magic prefix check, as well as concurrent lock bug

* fmt

* Refactor slice, textsec, and more to use offsets. Cleanup dead code in internal.go

* fmt

---------

Co-authored-by: Stephen Eckels <stevemk14ebr@gmail.com>
2026-03-05 16:29:56 -05:00
Stephen Eckels e5bc135355 Add basic 1.25 support #83 2026-02-26 19:03:24 +00:00
Krishna Yarlagadda cb029c6522 Add Go 1.24 support with ABIType parsing (#73)
* Add Go 1.24 support with ABIType parsing

- Add ABIType64/ABIType32 structs for Go 1.20+ type descriptors
- Extend moduledata version switch to support Go 1.21-1.24
- Update readRTypeName to handle Go 1.23-1.24 varint encoding
- Modify ParseType_impl to use ABIType for Go 1.20-1.24
- Add Go 1.21-1.24 support to interface methods and struct fields parsing
- Update pclntab parser version overrides for Go 1.21-1.24
- Document Go 1.24 support in README

Maintains backward compatibility while adding full support for
Go 1.24 binaries and newer runtime type descriptor formats.

* Remove specific Go 1.24 mention from version support section
2025-08-07 09:15:01 -04:00
brigadier-general 128f46b161 reverting bad commits! -- pclntab.go 2024-06-10 16:06:09 -05:00
brigadier-general fce172d55e adding Gofunc field to LineTable -- pclntab.go 2024-06-10 16:04:33 -05:00
brigadier-general 8df84f7258 adding Gofunc param to NewLineTable() -- pclntab.go 2024-06-10 16:03:40 -05:00
Stephen Eckels 532f64c4dd Cache regex compilation 2023-10-09 10:55:17 -04:00
Stephen Eckels 50c1f83a3f Add 1.21 support 2023-10-06 13:31:44 -04:00
Stephen Eckels 944c2b703e Resolve map initialization order bug 2023-08-17 12:40:55 -04:00
Stephen Eckels 897d990d76 Fix various panics 2023-08-17 12:10:26 -04:00
Stephen Eckels 45c9fa078e Push last fixes 2023-08-15 15:07:18 -04:00
Stephen Eckels 0188000af7 Apply data after section cache to all os's 2023-08-15 13:32:01 -04:00
Stephen Eckels 9e6783cb27 Switch to yara, fix pclntab OOM on corrupt tables, start ARM64 moduledata signature 2023-06-07 11:41:40 -04:00
Stephen Eckels 9d785d5931 Sync with master and update default package lists 2023-02-06 11:08:00 -05:00
Stephen Eckels cc825c78e6 Fix bug with data after section when sections have identical names 2022-10-26 11:22:58 -04:00
Stephen Eckels d9d7622b47 Fix string table failure 2022-10-06 11:41:10 -04:00
Stephen Eckels 135d1a6a89 Fix PE ARM64 and RISC support 2022-10-06 11:38:03 -04:00
Stephen Eckels 6eedc548d2 Fix invalid string table early return 2022-08-19 11:21:43 -04:00
Stephen Eckels db9fbb333e Allow version override to affect pclntab parsing. Support go1.19 and go1.20 2022-08-17 12:23:33 -04:00
Stephen Eckels 574dc3d746 Initial commit 2022-02-16 14:15:17 -05:00