Commit Graph

15338 Commits (4e864ae2dc3f8513b74c8c16514f19bead4a2c14)
 

Author SHA1 Message Date
Ben Lubar b29d009b14
update structures; implement struct_field_info_extra 2020-03-21 13:21:35 -05:00
Ben Lubar 9852d92a98
ghidra: actually define stl set types 2020-03-21 10:18:46 -05:00
Ben Lubar 5b8952baf8
ghidra: handle destructor ABI differences 2020-03-21 08:53:11 -05:00
Ben Lubar b2940b69f8
update structures 2020-03-21 07:49:22 -05:00
Ben Lubar 60892cade2
ghidra: add type name to anonymous fields/vmethods
ghidra: fix static array sizing when determined by index-enum
2020-03-21 07:46:03 -05:00
lethosor 666b35f1f6 Add "bit" suffix to package architecture (hopefully reduces confusion) 2020-03-21 02:42:12 -04:00
lethosor 7d6594bfe8 Add BUILD_TESTS CMake option 2020-03-21 02:39:00 -04:00
lethosor 77e40a52c0 Update scripts, xml, authors 2020-03-21 02:02:00 -04:00
lethosor d42e866a35 Merge remote-tracking branch 'PatrikLundell/embark_assistant' into develop 2020-03-20 23:22:38 -04:00
Ben Lubar 5e6cc8b335
ghidra: improve method creation 2020-03-20 12:16:31 -05:00
Ben Lubar 37e7bed779
add df.global:_field method. add test case to check for overlapping globals. 2020-03-20 09:41:58 -05:00
Ben Lubar 44b45ce43f
ghidra: fix _super being defined as a class method on subclasses 2020-03-20 08:57:30 -05:00
Ben Lubar 5eb0703433
ghidra: improve support for class types 2020-03-20 08:40:00 -05:00
lethosor 8df33a7859 Merge branch 'develop' of gh:DFHack/dfhack into develop 2020-03-20 02:03:51 -04:00
lethosor 326dcc8b0f Update scripts, authors 2020-03-20 02:03:31 -04:00
lethosor 58c9fc9bb2 Mention creature/caste flag name changes in changelog
See dfhack/scripts#113
2020-03-20 01:03:28 -04:00
Ben Lubar d741456a58
ghidra: fix vmethods not being explicitly thiscall.
ghidra: fix vmethods that returned void returning undefined.

ghidra: fix method used to get Win32 binary timestamps.
2020-03-16 19:18:22 -05:00
Ben Lubar 137d173d67
ghidra: add support for osx and windows 2020-03-16 17:50:27 -05:00
Ben Lubar ee0cb94312
ghidra: add special case for vector<bool> that is not a bit vector 2020-03-16 15:10:16 -05:00
Ben Lubar 71c17a14ff
ghidra: fix vtables not being pointers 2020-03-16 14:32:25 -05:00
Ben Lubar 19d62d9a2b
fix string data type definition in Ghidra script 2020-03-16 14:18:43 -05:00
Ben Lubar 725eb1a217
Add script to import df-structures into Ghidra.
Currently works on Linux (ELF) executables.
2020-03-16 14:05:42 -05:00
Ben Lubar d28b35b6eb
update structures 2020-03-15 15:29:02 -05:00
Ben Lubar 2f4bd32d28
update structures and scripts 2020-03-15 15:19:51 -05:00
PatrikLundell 5c913270d6 forgot to update profile save/load 2020-03-15 17:56:13 +01:00
PatrikLundell 7e2872e607 Merge branch 'develop' of https://github.com/DFHack/dfhack into embark_assistant 2020-03-15 17:33:08 +01:00
Ben Lubar 60722d778f
update structures and scripts 2020-03-15 02:17:19 -05:00
Ben Lubar ccf92d4b0a
fix check-structures-sanity compile on 64-bit windows 2020-03-13 01:09:04 -05:00
Ben Lubar a456b2fcf3
fix windows build 2020-03-13 00:03:56 -05:00
Ben Lubar 39486083f5
handle overlapping structures in check-structures-sanity better
update structures
2020-03-12 22:16:30 -05:00
Ben Lubar d456e3db7a
check-structures-sanity: fix unknown pointer type not actually dereferencing the pointer
basic attempt at handling overlapping structs
2020-03-12 15:20:46 -05:00
Ben Lubar 1a4c4a5f33
update structures 2020-03-12 14:03:23 -05:00
Ben Lubar f204f14e52
update scripts and structures 2020-03-12 12:53:24 -05:00
Ben Lubar 2a6b2cacbd
update scripts and structures 2020-03-12 12:34:57 -05:00
Ben Lubar 616a57224f
check-structures-sanity: don't report possible pointers by default 2020-03-12 11:35:52 -05:00
Ben Lubar 08d2ed577e
fix check-structures-sanity compile on windows 2020-03-12 10:02:21 -05:00
Ben Lubar 469c49c8b9
check-structures-sanity: keep track of whether data is within a larger structure 2020-03-11 17:49:34 -05:00
Ben Lubar eabff06eef
check-structures-sanity: warn when an integer might be a pointer 2020-03-11 11:20:10 -05:00
Ben Lubar e2138a6cc2
update check-structures-sanity (part 2 of 2) 2020-03-10 23:05:59 -05:00
Ben Lubar e5de783c58
rewriting check-structures-sanity to improve performance and remove the need for the lowmem option 2020-03-10 18:53:56 -05:00
Ben Lubar b9841110c3
update structures and scripts 2020-03-09 17:53:34 -05:00
Ben Lubar e296525983
check-structures-sanity: don't error on unnamed enum values/bits by default 2020-03-09 17:52:47 -05:00
Ben Lubar 923581b144
fix ghidra script failing if strings overlapped (for example, load_min_version and version could point to the same region of memory) 2020-03-09 17:52:47 -05:00
Pierre-David Bélanger a7d263fa67
getFullName of the container AND the item, also exclude container of char (#1515)
* getFullName of the container AND the item, also exclude container of char

* bit vector condition was backwards
2020-03-09 13:12:04 -05:00
Ben Lubar a2e34a3b71
fix check-structures-sanity picking the wrong type for linked list items 2020-03-08 00:21:18 -06:00
Ben Lubar ffb3c29cfc
simplify Graphic module. update structures.
it appears that all this added complexity including an extra pointer dereference was to avoid including the vector header.
2020-03-08 00:12:48 -06:00
Ben Lubar c4e9c8d29c
update structures 2020-03-07 15:15:02 -06:00
Ben Lubar 5f83681fbc
update scripts and structures 2020-03-07 12:08:03 -06:00
Ben Lubar f8f7b52180
fix is_df_linked_list not checking if the type is null 2020-03-06 20:22:18 -06:00
Ben Lubar 6465037432
fix field order 2020-03-06 20:04:17 -06:00