mirror of
https://github.com/radareorg/libdemangle.git
synced 2026-11-07 14:38:15 -10:00
67 lines
2.1 KiB
C
67 lines
2.1 KiB
C
#include <ldmg.h>
|
|
|
|
int test_swift_main(int argc, char **argv);
|
|
|
|
void test_swift(void) {
|
|
ldmg_swift ("_TFSSCfT21_builtinStringLiteralBp8byteSizeBw7isASCIIBi1__SS");
|
|
}
|
|
|
|
void test_rust(void) {
|
|
#if 0
|
|
__ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h4a31308564029d7eE
|
|
__ZN4core3ops8function6FnOnce9call_once17h59dbe071859e7ebdE
|
|
__ZN5hello4main17hfafb935540a46685E
|
|
#endif
|
|
}
|
|
|
|
void test_dlang(void) {
|
|
#if 0
|
|
_D101TypeInfo_S3std3uni__T13InversionListTSQBcQBb8GcPolicyZQ
|
|
Bh__T9IntervalsTSQCkQCj__T8CowArrayTQCcZQoZQBm6__initZ
|
|
_D10TypeInfo_a6__initZ
|
|
_D2gc4impl12conservativeQw14ConservativeGC13reserveNoSyncMFNbmZm
|
|
_D2gc4impl12conservativeQw14ConservativeGC4filePa
|
|
_D2gc4impl12conservativeQw14SENTINEL_EXTRAxk
|
|
_D2gc4impl12conservativeQw3Gcx7newPoolMFNbmbZPSQBtQBtQBrQCc4Pool
|
|
_D2gc5proxy8instanceCQt11gcinterface2GC
|
|
__D2rt7dwarfeh13_d_throwdwarfUC6object9ThrowableZ17exception_cleanupUiPSQCr6unwind17_Unwind_ExceptionZv
|
|
__D4core7runtime9__modctorFZv
|
|
__D4core6thread15__modshareddtorFZ
|
|
__D3std12experimental9allocator15building_blocks6region__T6RegionTSQCmQClQCa14mmap_allocator13MmapAllocatorVki16VEQEh8typecons__T4FlagVAyaa13_67726f77446f776e7761726473ZQBoi0ZQEn6__ctorMFNaNbNcNiAhZSQHoQHnQHcQGvQGh__TQGdTQFzVki16VQEni0ZQGw
|
|
__D3std3net4curl__T4PoolTAhZQj5Entry6__initZ
|
|
__D3std3uni17CodepointInterval__T8opEqualsTxSQBqQBpQBoZQwMxFNaNbNiNfxQzZb
|
|
__D3std5range10primitives__T7popBackTyaZQmFNaNfKAyaZv
|
|
#endif
|
|
}
|
|
|
|
void test_msvc(void) {
|
|
/* nothing */
|
|
}
|
|
|
|
void test_cxx2(void) {
|
|
/*
|
|
_AddColor__10ZafDisplayUcUcUcUcUc
|
|
*/
|
|
}
|
|
|
|
void test_cxx(void) {
|
|
#if 0
|
|
__ZTIN6json1110JsonDoubleE
|
|
__ZTINSt3__110__function6__baseIFN7rlottie5ColorERKNS2_9FrameInfoEEEE__ZTINSt3__110__function6__baseIFN7rlottie5ColorERKNS2_9FrameInfoEEEE
|
|
__ZN6webrtc13PushResamplerIfE18InitializeIfNeededEiim
|
|
__ZN7plcrash2MS5async15dwarf_cfa_stateIjiEC2Ev
|
|
__ZN7plcrash2MS5async16gnu_ehptr_readerIjEC1EPK25MSplcrash_async_byteorder
|
|
__ZTIN6json115ValueILNS_4Json4TypeE1EiEE
|
|
__ZTIN6webrtc15VolumeCallbacksE
|
|
__ZTVN6webrtc13PushResamplerIfEE
|
|
__ZTIPKSt9exception
|
|
#endif
|
|
// ldmg_cxx ("_TFSSCfT21_builtinStringLiteralBp8byteSizeBw7isASCIIBi1__SS");
|
|
}
|
|
|
|
int main(int argc, char **argv) {
|
|
test_swift();
|
|
test_swift_main(argc, argv);
|
|
test_cxx();
|
|
}
|