Ariel Abreu
d7e27804d8
Avoid generating stubs for local symbols
...
Stubs are only needed for the external interface, so we can completely ignore local symbols for our purposes.
2023-08-22 00:43:21 -04:00
Ariel Abreu
8dca3b7233
Fix a few typos; parse ObjC for external symbols
2023-08-22 00:42:18 -04:00
Ariel Abreu
1ead253b31
Handle some addition segments and sections for C symbols
2023-08-22 00:41:08 -04:00
Ariel Abreu
51f959f37e
Fix variable modifier usage
...
Putting `const` before `void*` makes it a non-const pointer to a const unknown; what we want is a const pointer to a non-const unknown.
Also, `extern static` is invalid.
2023-08-22 00:40:38 -04:00
Ariel Abreu
417644cae3
Keep track of whether C variables and functions are external
...
We're going to use this info to avoid generating stubs for local symbols.
Also, get rid of duplicate `extern` keyword.
2023-08-22 00:37:28 -04:00
Ariel Abreu
465e1546d2
Allow specifying the output directory
2023-08-22 00:34:58 -04:00
Ariel Abreu
65f721beb3
Add @executable_path
to rpath
...
This allows executing the stub generator with `MachOKit.framework` sitting right next to it, no matter where it is.
2023-08-22 00:34:17 -04:00
Thomas A
53263cdf29
Add Support For Generating C Symbols
2023-01-07 08:58:23 -08:00
Thomas A
551cfd612c
Generate The Filename Using The "OBJC" Symbol Instead. Sort ObjC Results. Update Test Cases.
2022-12-31 18:48:52 -08:00
Thomas A
d91c8d11b1
Split Generating Header And Source Files Into Two Seperate Method. Make Sure That "fileName" Is Not Null.
2022-12-31 15:11:19 -08:00
Thomas A
ef70a66244
Add SDK Framework Generating When Building CMakeLists. Bug Fixes and Code Refactoring.
2022-11-13 15:13:47 -08:00
Thomas A
d66c301fdb
Update Project & Test Cases
2022-11-13 08:50:18 -08:00
Thomas A
e4b2fc5877
Created DLObjCStubBuilder Class. Reworked DLObjectiveCSymbols and DLStubBuilder to better support DLObjCStubBuilder
2022-11-13 08:49:15 -08:00
Thomas A
084a8a42dd
Add Helper Block To Initalize NSMutableArray
2022-11-13 08:49:04 -08:00
Thomas A
c99fe70e8b
Update Project
2022-11-08 08:49:50 -08:00
Thomas A
25897b2cf1
Upload WIP ObjC Test Case
2022-11-08 08:49:37 -08:00
Thomas A
8dc2760056
Move OjbC Symbol Parsing Logic To Dedicated Class. Fix Building.
2022-11-08 08:48:24 -08:00
Thomas A
3c087328fb
NSMutableDictionary Category: Add Entry If One Does Not Already Exist
2022-11-08 08:48:24 -08:00
Thomas A
7b2c64f6ba
Update project
2022-11-06 10:38:42 -08:00
Thomas A
c2866c997f
Lay Groundwork For Parsing Swift Symbols
2022-11-06 10:38:42 -08:00
Thomas A
4a3368eca5
Implement DLError, Add functionCPP Array
2022-11-06 09:11:54 -08:00
Thomas A
453782f395
Add Licenses Template
2022-11-06 09:03:21 -08:00
Thomas A
edc9a56857
Reorganize Source Files
2022-08-20 19:28:37 -07:00
Thomas A
559b09f28a
Upload Xcode Project File
2022-08-17 10:22:35 -07:00
Thomas A
f140904350
Update .gitignore and submodule
2022-08-16 08:58:48 -07:00
Thomas A
f4fe4cfcfd
Log external and undefinied sections
2022-03-19 15:19:45 -07:00
Thomas A
8b6d405135
Initial Support For Generating Objective C Protocol Stub. Initial Support For Generating Source Files.
...
Also fixed formatting
2022-02-20 16:19:54 -08:00
Thomas A
43ca0ce4aa
Force Generating Method Signature
...
I need to make sure that the new tool is able to generate the files exactly the same as the old tool.
2022-02-20 15:42:56 -08:00
Thomas A
01c423c011
Store Protocol Symbols In Set, Create Backlist, Parse OBJC_CLASS_RO.
2022-02-13 20:42:56 -08:00
Thomas A
a57f8b99fc
Log unknown symbols. Misc log changes.
2022-02-11 10:03:39 -08:00
Thomas A
855a937e80
Fixed typo with initalizing DLLibraryParser
2022-02-11 10:02:03 -08:00
Thomas A
c770337600
Use forked repo from darlinghq
2022-02-02 21:50:55 -08:00
Thomas A
350bbd945e
Upload Initial WIP Code
2022-01-23 10:15:13 -08:00
Thomas A
94b5d2084c
Add main.m
2021-12-18 11:11:56 -08:00
Thomas A
f9d3b9a432
Add gitignore
2021-12-18 11:10:36 -08:00