Branch: refs/heads/thaines/cleanup_findMain
Home: https://github.com/dyninst/dyninst
Commit: e77cc5f6c76c0dc2043974c2c6e0ceeea03c92bb
https://github.com/dyninst/dyninst/commit/e77cc5f6c76c0dc2043974c2c6e0ceeea03c92bb
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/src/image.C
M dyninstAPI/src/image.h
Log Message:
-----------
Add image::getAddressOfMain
Commit: adcb3bc1d5eab3728e359e18850f2f5b6068e789
https://github.com/dyninst/dyninst/commit/adcb3bc1d5eab3728e359e18850f2f5b6068e789
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/src/image.C
Log Message:
-----------
Uniformly check that file is an executable
Commit: a3ea02d38fcfa3f3a35068cea3ce78ac08aa1b4c
https://github.com/dyninst/dyninst/commit/a3ea02d38fcfa3f3a35068cea3ce78ac08aa1b4c
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/src/image.C
Log Message:
-----------
Require the presence of at least one code region
For ppc, this is effectively the same as requiring the .text section.
Commit: 0dd566be25cecf7f8d59d03a7b708dad204b6ee9
https://github.com/dyninst/dyninst/commit/0dd566be25cecf7f8d59d03a7b708dad204b6ee9
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/src/image.C
Log Message:
-----------
Uniformly check for 'main' symbol name
Commit: 678b209bbee1aeef834e55cc03a1b1d9282a3ded
https://github.com/dyninst/dyninst/commit/678b209bbee1aeef834e55cc03a1b1d9282a3ded
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/src/image.C
Log Message:
-----------
Add extra logging
Commit: e0308ac7093bb65fb14b9060fecf8d96687d16df
https://github.com/dyninst/dyninst/commit/e0308ac7093bb65fb14b9060fecf8d96687d16df
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/src/image.C
Log Message:
-----------
Unify entry region construction
This is a slight change for PPC which previously parsed the entire
binary. There's no reason to do that since we know the only region we
need is near the entry point. Additionally, PPC allowed for an entry
region with no calls. That is inconsistent with the libc startup
procedure, so it's removed.
Commit: 4055ffec7081ff03a950671a9115c3418af4b8a4
https://github.com/dyninst/dyninst/commit/4055ffec7081ff03a950671a9115c3418af4b8a4
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/CMakeLists.txt
A dyninstAPI/src/find_main.h
A dyninstAPI/src/find_main_ppc.C
M dyninstAPI/src/image.C
Log Message:
-----------
Extract, refactor ppc lookup
This also removes deref_odp since it was part of the ELF V1 ABI for
big-endian PPC that we no longer support. ppc64le uses ELF V2 that
doesn't have function descriptors (and hence no .odp section).
64-Bit ELF V2 ABI Specification
Power Architecture Workgroup Specification
Revision 1.5
December 1, 2020
Section 3.1 ELF Header
E_flags defining the ABI level:
0 For ELF object files of an unspecified nature.
1 For the Power ELF V1 ABI using function descriptors. This ABI is
currently only used for big-endian PowerPC implementations.
2 For the OpenPOWER ELF V2 ABI using the facilities described here
and including function pointers to directly reference functions.
Commit: a97422b0fcedffc12ec5c7269b074d66bb91bdd6
https://github.com/dyninst/dyninst/commit/a97422b0fcedffc12ec5c7269b074d66bb91bdd6
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/CMakeLists.txt
M dyninstAPI/src/find_main.h
A dyninstAPI/src/find_main_x86.C
M dyninstAPI/src/image.C
Log Message:
-----------
Extract, refactor x86 lookup
The heuristic code for FreeBSD hasn't compiled since at least 2009, so
I dropped it.
Commit: f77ce59821a5581d94f368aa2cd65f52464928a7
https://github.com/dyninst/dyninst/commit/f77ce59821a5581d94f368aa2cd65f52464928a7
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/CMakeLists.txt
A dyninstAPI/src/find_main.C
M dyninstAPI/src/find_main.h
M dyninstAPI/src/image.C
Log Message:
-----------
Extract find_main into separate module
Commit: f59ed7eb3f7bd9b18129ddcd2a1c22caef998a31
https://github.com/dyninst/dyninst/commit/f59ed7eb3f7bd9b18129ddcd2a1c22caef998a31
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/src/find_main.C
M dyninstAPI/src/find_main.h
M dyninstAPI/src/image.C
Log Message:
-----------
Extract missing symbol handling
Commit: f688a29fdfc4a2907b0e024b540efe9ad19dfd3e
https://github.com/dyninst/dyninst/commit/f688a29fdfc4a2907b0e024b540efe9ad19dfd3e
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M dyninstAPI/CMakeLists.txt
M dyninstAPI/src/find_main.C
M dyninstAPI/src/find_main.h
A dyninstAPI/src/find_main_common.h
M dyninstAPI/src/find_main_x86.C
A dyninstAPI/src/find_main_x86_64.C
M dyninstAPI/src/image.C
Log Message:
-----------
Split x86 and x86_64
Commit: 66886cf3b84a9ecac84bee86da53ed63334255aa
https://github.com/dyninst/dyninst/commit/66886cf3b84a9ecac84bee86da53ed63334255aa
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M tests/regression/CMakeLists.txt
A tests/regression/dyninstAPI/CMakeLists.txt
A tests/regression/dyninstAPI/find_main/CMakeLists.txt
A tests/regression/dyninstAPI/find_main/find_main.cpp
A tests/regression/dyninstAPI/find_main/find_main_test.c
Log Message:
-----------
Add tests
Commit: ba7c22196e1ce74d4b834bf4793b5fcaf974d230
https://github.com/dyninst/dyninst/commit/ba7c22196e1ce74d4b834bf4793b5fcaf974d230
Author: Tim Haines <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
A dyninstAPI/src/find_main_aarch64.C
Log Message:
-----------
First impl for aarch64
Compare: https://github.com/dyninst/dyninst/compare/7092cfd3c403...ba7c22196e1c
To unsubscribe from these emails, change your notification settings at
https://github.com/dyninst/dyninst/settings/notifications
_______________________________________________
Dyninst-api mailing list
[email protected]
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api