Skip to content

Instantly share code, notes, and snippets.

@Globik

Globik/janus.exe

Last active Mar 24, 2016
Embed
What would you like to do?
Janus WebRTC Gateway under Msys2.0 on Windows 7 32-bit (gnu's ldd and nm output)
User@User-DNS MSYS /usr/local/opt/j
$ ldd janus.exe
ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x76de0000)
kernel32.dll => /c/Windows/system32/kernel32.dll (0x76f50000)
KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x74f50000)
msys-2.0.dll => /usr/bin/msys-2.0.dll (0x61000000)
msys-gcc_s-1.dll => /usr/bin/msys-gcc_s-1.dll (0x6ac00000)
/* aequivalent of libjanus_http.so (aka transport plugin) */
User@User-DNS MSYS /usr/local/opt/j/transports/.libs
$ ldd msys-janus_http-0.dll
ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x76de0000)
kernel32.dll => /c/Windows/system32/kernel32.dll (0x76f50000)
KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x74f50000)
msys-glib-2.0-0.dll => /usr/bin/msys-glib-2.0-0.dll (0x6a200000)
msys-iconv-2.dll => /usr/bin/msys-iconv-2.dll (0x6f540000)
msys-2.0.dll => /usr/bin/msys-2.0.dll (0x61000000)
msys-gcc_s-1.dll => /usr/bin/msys-gcc_s-1.dll (0x6ac00000)
msys-intl-8.dll => /usr/bin/msys-intl-8.dll (0x62000000)
msys-pcre-1.dll => /usr/bin/msys-pcre-1.dll (0x64bc0000)
msys-ssp-0.dll => /usr/bin/msys-ssp-0.dll (0x70e40000)
msys-jansson-4.dll => /usr/local/bin/msys-jansson-4.dll (0x670c0000)
msys-microhttpd-10.dll => /usr/local/bin/msys-microhttpd-10.dll (0x6bb40000)
msys-gcrypt-20.dll => /usr/bin/msys-gcrypt-20.dll (0x70340000)
msys-gpg-error-0.dll => /usr/bin/msys-gpg-error-0.dll (0x6b500000)
libgnutls-30.dll => /usr/bin/libgnutls-30.dll (0x410000)
libgmp-10.dll => /usr/gnutls/bin/libgmp-10.dll (0x6acc0000)
msvcrt.dll => /c/Windows/system32/msvcrt.dll (0x75d80000)
libhogweed-4-0.dll => /usr/gnutls/bin/libhogweed-4-0.dll (0x69800000)
USER32.dll => /c/Windows/system32/USER32.dll (0x753d0000)
GDI32.dll => /c/Windows/system32/GDI32.dll (0x75e40000)
LPK.dll => /c/Windows/system32/LPK.dll (0x76050000)
USP10.dll => /c/Windows/system32/USP10.dll (0x754a0000)
libnettle-6-0.dll => /usr/bin/libnettle-6-0.dll (0x6fa00000)
libgcc_s_sjlj-1.dll => /usr/local/bin/libgcc_s_sjlj-1.dll (0x6cec0000)
libwinpthread-1.dll => /usr/local/bin/libwinpthread-1.dll (0x64940000)
libp11-kit-0.dll => /usr/gnutls/bin/libp11-kit-0.dll (0x690c0000)
SHELL32.dll => /c/Windows/system32/SHELL32.dll (0x76140000)
SHLWAPI.dll => /c/Windows/system32/SHLWAPI.dll (0x75f40000)
ADVAPI32.dll => /c/Windows/system32/ADVAPI32.dll (0x75e90000)
sechost.dll => /c/Windows/SYSTEM32/sechost.dll (0x760e0000)
RPCRT4.dll => /c/Windows/system32/RPCRT4.dll (0x75fa0000)
CRYPT32.dll => /c/Windows/system32/CRYPT32.dll (0x74fa0000)
MSASN1.dll => /c/Windows/system32/MSASN1.dll (0x74dc0000)
WS2_32.dll => /c/Windows/system32/WS2_32.dll (0x76100000)
NSI.dll => /c/Windows/system32/NSI.dll (0x75e30000)
IMM32.DLL => /c/Windows/system32/IMM32.DLL (0x76f30000)
MSCTF.dll => /c/Windows/system32/MSCTF.dll (0x75930000)
ncrypt.dll => /c/Windows/system32/ncrypt.dll (0x748f0000)
bcrypt.dll => /c/Windows/system32/bcrypt.dll (0x748d0000)
CRYPTSP.dll => /c/Windows/system32/CRYPTSP.dll (0x747c0000)
rsaenh.dll => /c/Windows/system32/rsaenh.dll (0x74560000)
CRYPTBASE.dll => /c/Windows/system32/CRYPTBASE.dll (0x74ca0000)
/* Fragment only aka libjanus_http.so*/
6dd04eb8 T __fu98____stack_chk_guard
6dd04f03 T __fu99____stack_chk_guard
6dd19050 I __head_lib32_libkernel32_a
6dd19014 I __head_msys_2_0_dll
6dd19028 I __head_msys_gcc_s_1_dll
6dd19000 I __head_msys_glib_2_0_0_dll
6dd19064 I __head_msys_jansson_4_dll
6dd19078 I __head_msys_microhttpd_10_dll
6dd1903c I __head_msys_ssp_0_dll
6dd19508 I __IAT_end__
6dd192d4 I __IAT_start__
6dd00000 A __image_base__
6dd19370 I __imp____ctype_ptr__
6dd19374 I __imp____cxa_atexit
6dd19488 I __imp____deregister_frame_info
6dd19378 I __imp____errno
6dd1937c I __imp____getreent
6dd1948c I __imp____register_frame_info
6dd19494 I __imp____stack_chk_fail
6dd19498 I __imp____stack_chk_guard
6dd19498 I __imp____stack_chk_guard
6dd19380 I __imp___fdopen64
6dd19384 I __imp___fopen64
6dd19388 I __imp___freopen64
6dd1938c I __imp___impure_ptr
6dd19390 I __imp___open64
6dd19394 I __imp__atoi
6dd19398 I __imp__atoll
6dd1939c I __imp__calloc
6dd193a0 I __imp__clock_gettime
6dd193a4 I __imp__close
6dd193a8 I __imp__cygwin_internal
6dd193ac I __imp__dll_dllcrt0
6dd193b0 I __imp__fclose
6dd193b4 I __imp__fdopen
6dd193b8 I __imp__fflush
6dd193bc I __imp__fgets
6dd193c0 I __imp__flock
6dd193c4 I __imp__fopen
6dd193c8 I __imp__fprintf
6dd193cc I __imp__fputs
6dd193d0 I __imp__fread
6dd193d4 I __imp__free
6dd194a0 I __imp__FreeLibrary@4
6dd193d8 I __imp__freopen
6dd193dc I __imp__fscanf
6dd193e0 I __imp__fseek
6dd193e4 I __imp__ftell
6dd193e8 I __imp__fwrite
6dd192d4 I __imp__g_ascii_strtoll
6dd192d8 I __imp__g_async_queue_new
6dd192dc I __imp__g_async_queue_push
6dd192e0 I __imp__g_async_queue_try_pop
6dd192e4 I __imp__g_async_queue_unref
6dd192e8 I __imp__g_cond_clear
6dd192ec I __imp__g_cond_init
6dd192f0 I __imp__g_cond_signal
6dd192f4 I __imp__g_cond_wait
6dd192f8 I __imp__g_free
6dd192fc I __imp__g_hash_table_destroy
6dd19300 I __imp__g_hash_table_insert
6dd19304 I __imp__g_hash_table_lookup
6dd19308 I __imp__g_hash_table_new
6dd1930c I __imp__g_hash_table_remove
6dd19310 I __imp__g_list_append
6dd19314 I __imp__g_list_delete_link
6dd19318 I __imp__g_list_free_full
6dd1931c I __imp__g_list_length
6dd19320 I __imp__g_list_remove
6dd19324 I __imp__g_malloc
6dd19328 I __imp__g_malloc0
6dd1932c I __imp__g_mutex_clear
6dd19330 I __imp__g_mutex_init
6dd19334 I __imp__g_mutex_lock
6dd19338 I __imp__g_mutex_unlock
6dd1933c I __imp__g_print
6dd19340 I __imp__g_realloc
6dd19344 I __imp__g_snprintf
6dd19348 I __imp__g_sprintf
6dd1934c I __imp__g_strdup
6dd19350 I __imp__g_strfreev
6dd19354 I __imp__g_strsplit
6dd19358 I __imp__g_thread_join
6dd1935c I __imp__g_thread_new
6dd19360 I __imp__g_thread_try_new
6dd19364 I __imp__g_usleep
6dd19368 I __imp__g_vsnprintf
6dd194a4 I __imp__GetModuleHandleA@4
6dd193ec I __imp__getpid
6dd194a8 I __imp__GetProcAddress@8
6dd193f0 I __imp__gettimeofday
6dd193f4 I __imp__inet_ntoa
6dd193f8 I __imp__inet_ntop
6dd193fc I __imp__inet_pton
6dd194b4 I __imp__json_array
6dd194b8 I __imp__json_array_append_new
6dd194bc I __imp__json_delete
6dd194c0 I __imp__json_dumps
6dd194c4 I __imp__json_integer
6dd194c8 I __imp__json_integer_value
6dd194cc I __imp__json_loads
6dd194d0 I __imp__json_object
6dd194d4 I __imp__json_object_get
6dd194d8 I __imp__json_object_set_new
6dd194dc I __imp__json_string
6dd194ac I __imp__LoadLibraryA@4
6dd19400 I __imp__localtime_r
6dd19404 I __imp__malloc
6dd19408 I __imp__memcpy
6dd1940c I __imp__memmove
6dd19410 I __imp__memset
6dd194e4 I __imp__MHD_add_response_header
6dd194e8 I __imp__MHD_create_response_from_data
6dd194ec I __imp__MHD_destroy_response
6dd194f0 I __imp__MHD_get_connection_values
6dd194f4 I __imp__MHD_lookup_connection_value
6dd194f8 I __imp__MHD_queue_response
6dd194fc I __imp__MHD_start_daemon
6dd19500 I __imp__MHD_stop_daemon
6dd19414 I __imp__mkdir
6dd19418 I __imp__msys_detach_dll
6dd1941c I __imp__open
6dd19420 I __imp__posix_memalign
6dd19424 I __imp__printf
6dd19428 I __imp__pthread_cond_init
6dd1942c I __imp__pthread_cond_signal
6dd19430 I __imp__pthread_cond_timedwait
6dd19434 I __imp__pthread_mutex_init
6dd19438 I __imp__pthread_mutex_lock
6dd1943c I __imp__pthread_mutex_unlock
6dd19440 I __imp__rand
6dd19444 I __imp__realloc
6dd19448 I __imp__setvbuf
6dd1944c I __imp__snprintf
6dd19450 I __imp__sscanf
6dd19454 I __imp__strcasecmp
6dd19458 I __imp__strchr
6dd1945c I __imp__strcmp
6dd19460 I __imp__strdup
6dd19464 I __imp__strerror
6dd19468 I __imp__strftime
6dd1946c I __imp__strlen
6dd19470 I __imp__strrchr
6dd19474 I __imp__strstr
6dd19478 I __imp__time
6dd1947c I __imp__unlink
6dd19480 I __imp__vsnprintf
w __Jv_RegisterClasses
6dd19f78 I __lib32_libkernel32_a_iname
00000000 A __loader_flags__
00000001 A __major_image_version__
00000004 A __major_os_version__
00000004 A __major_subsystem_version__
00000000 A __minor_image_version__
00000000 A __minor_os_version__
00000000 A __minor_subsystem_version__
6dd10860 T __msys_crt0_common@8
6dd106f0 T __msys_dll_entry@12
6dd107e0 T __msys_nonmsys_dll_entry@12
6dd197a0 I __nm____ctype_ptr__
6dd19b70 I __nm____stack_chk_guard
6dd19804 I __nm___impure_ptr
6dd10bd0 T __pei386_runtime_relocator
6dd147b8 R __rt_psrelocs_end
000006f0 A __rt_psrelocs_size
6dd140c8 R __rt_psrelocs_start
6dd140c8 A __RUNTIME_PSEUDO_RELOC_LIST__
6dd147b8 R __RUNTIME_PSEUDO_RELOC_LIST_END__
00001000 A __section_alignment__
00001000 A __size_of_heap_commit__
00100000 A __size_of_heap_reserve__
00001000 A __size_of_stack_commit__
00200000 A __size_of_stack_reserve__
00000003 A __subsystem__
w __ZdaPv
w __ZdaPvRKSt9nothrow_t
w __ZdlPv
w __ZdlPvRKSt9nothrow_t
w __Znaj
w __ZnajRKSt9nothrow_t
w __Znwj
w __ZnwjRKSt9nothrow_t
6dd17198 B _access_list_mutex
6dd17034 b _admin_sws
6dd17038 b _admin_ws
6dd17030 b _admin_ws_path
6dd10518 T _atoi
6dd10520 T _atoll
6dd1706c b _bufferpool
6dd10be0 T _calloc
6dd1703c b _cert_key_bytes
6dd17040 b _cert_pem_bytes
6dd13ee0 r _charset
6dd10528 T _clock_gettime
6dd10530 T _close
6dd1707c b _cond
6dd0ad90 T _create
6dd10be8 T _cygwin_internal
6dd10b90 T _cygwin_premain0
6dd10ba0 T _cygwin_premain1
6dd10bb0 T _cygwin_premain2
6dd10bc0 T _cygwin_premain3
6dd10850 T _dll_dllcrt0
6dd170a8 b _dll_index
6dd107f0 T _DllMain@12
6dd17184 B _environ
6dd10538 T _fclose
6dd10540 T _fdopen
6dd10548 T _fflush
6dd10550 T _fgets
6dd10558 T _flock
6dd10560 T _fopen
6dd10568 T _fprintf
6dd10570 T _fputs
6dd10578 T _fread
6dd10580 T _free
00000000 A _FreeLibrary@4
6dd10588 T _freopen
6dd10590 T _fscanf
6dd10598 T _fseek
6dd105a0 T _ftell
6dd105a8 T _fwrite
6dd10488 T _g_ascii_strtoll
6dd10480 T _g_async_queue_new
6dd10478 T _g_async_queue_push
6dd10470 T _g_async_queue_try_pop
6dd10468 T _g_async_queue_unref
6dd10460 T _g_cond_clear
6dd10458 T _g_cond_init
6dd10450 T _g_cond_signal
6dd10448 T _g_cond_wait
6dd10440 T _g_free
6dd10438 T _g_hash_table_destroy
6dd10430 T _g_hash_table_insert
6dd10428 T _g_hash_table_lookup
6dd10420 T _g_hash_table_new
6dd10418 T _g_hash_table_remove
6dd10410 T _g_list_append
6dd10408 T _g_list_delete_link
6dd10400 T _g_list_free_full
6dd103f8 T _g_list_length
6dd103f0 T _g_list_remove
6dd103e8 T _g_malloc
6dd103e0 T _g_malloc0
6dd103d8 T _g_mutex_clear
6dd103d0 T _g_mutex_init
6dd103c8 T _g_mutex_lock
6dd103c0 T _g_mutex_unlock
6dd103b8 T _g_print
6dd103b0 T _g_realloc
6dd103a8 T _g_snprintf
6dd103a0 T _g_sprintf
6dd10398 T _g_strdup
6dd10390 T _g_strfreev
6dd10388 T _g_strsplit
6dd10380 T _g_thread_join
6dd10378 T _g_thread_new
6dd10370 T _g_thread_try_new
6dd10368 T _g_usleep
6dd10360 T _g_vsnprintf
6dd17060 b _gateway
6dd10c08 T _GetModuleHandleA@4
6dd105b0 T _getpid
00000000 A _GetProcAddress@8
6dd105b8 T _gettimeofday
6dd17188 B _hmod_libgcc
6dd17058 b _http_admin_api_enabled
6dd1705c b _http_janus_api_enabled
6dd105c0 T _inet_ntoa
6dd105c8 T _inet_ntop
6dd105d0 T _inet_pton
6dd17098 b _initialized
6dd04e50 T _janus_address_to_ip
6dd05a40 T _janus_config_add_category
6dd05c70 T _janus_config_add_item
6dd056f0 T _janus_config_create
6dd06ab0 T _janus_config_destroy
6dd016b0 t _janus_config_free_category
6dd015c0 t _janus_config_free_item
6dd05840 T _janus_config_get_categories
6dd05880 T _janus_config_get_category
6dd05940 T _janus_config_get_item
6dd059c0 T _janus_config_get_item_drilldown
6dd05900 T _janus_config_get_items
6dd06b50 T _janus_config_parse
6dd06020 T _janus_config_print
6dd05bf0 T _janus_config_remove_category
6dd05f70 T _janus_config_remove_item
6dd06450 T _janus_config_save
6dd04540 T _janus_flags_clear
6dd04580 T _janus_flags_is_set
6dd044c0 T _janus_flags_reset
6dd04500 T _janus_flags_set
6dd04000 T _janus_get_api_error
6dd04250 T _janus_get_monotonic_time
6dd04b10 T _janus_get_opus_pt
6dd042c0 T _janus_get_real_time
6dd04c60 T _janus_get_vp8_pt
6dd1701c B _janus_http_access_list
6dd17018 B _janus_http_admin_access_list
6dd02f40 T _janus_http_admin_client_connect
6dd0e3a0 T _janus_http_admin_handler
6dd01920 t _janus_http_allow_address
6dd02d10 T _janus_http_client_connect
6dd01f20 T _janus_http_destroy
6dd01c80 t _janus_http_destroy.part.2
6dd01130 T _janus_http_get_api_compatibility
6dd01220 T _janus_http_get_author
6dd011c0 T _janus_http_get_description
6dd011f0 T _janus_http_get_name
6dd01250 T _janus_http_get_package
6dd01160 T _janus_http_get_version
6dd01190 T _janus_http_get_version_string
6dd0ba80 T _janus_http_handler
6dd03170 T _janus_http_headers
6dd07870 T _janus_http_init
6dd012b0 T _janus_http_is_admin_api_enabled
6dd01720 t _janus_http_is_allowed
6dd01280 T _janus_http_is_janus_api_enabled
6dd0afa0 T _janus_http_notifier
6dd01a30 t _janus_http_random_string.part.1.constprop.4
6dd03350 T _janus_http_request_completed
6dd0b7c0 T _janus_http_return_error
6dd0ae90 T _janus_http_return_success
6dd01f70 T _janus_http_send_message
6dd02a10 T _janus_http_session_created
6dd03ad0 T _janus_http_session_over
6dd035a0 t _janus_http_sessions_watchdog
6dd11040 d _janus_http_transport
6dd04db0 T _janus_is_ip_valid
6dd04330 T _janus_is_true
6dd17194 B _janus_log_colors
6dd1107c d _janus_log_console
6dd03fa0 T _janus_log_destroy
6dd1709c b _janus_log_file
6dd170a0 b _janus_log_filepath
6dd01b00 T _janus_log_get_logfile_path
6dd03d80 T _janus_log_init
6dd01ad0 T _janus_log_is_logfile_enabled
6dd01aa0 T _janus_log_is_stdout_enabled
6dd1718c B _janus_log_level
6dd13f80 r _janus_log_prefix
6dd012e0 t _janus_log_thread
6dd17190 B _janus_log_timestamps
6dd048d0 T _janus_mkdir
6dd04ef0 T _janus_pidfile_create
6dd05540 T _janus_pidfile_remove
6dd043b0 T _janus_strcmp_const_time
6dd045c0 T _janus_string_replace
6dd01b30 T _janus_vprintf
6dd104e0 T _json_array
6dd104d8 T _json_array_append_new
6dd018d0 t _json_decref
6dd104d0 T _json_delete
6dd104c8 T _json_dumps
6dd104c0 T _json_integer
6dd104b8 T _json_integer_value
6dd104b0 T _json_loads
6dd104a8 T _json_object
6dd104a0 T _json_object_get
6dd10498 T _json_object_set_new
6dd10490 T _json_string
6dd11020 D _keepalive_id
00000000 A _LoadLibraryA@4
6dd105d8 T _localtime_r
6dd17088 b _lock
6dd1702c B _lock_debug
6dd10bf0 T _malloc
6dd105e0 T _memcpy
6dd105e8 T _memmove
6dd105f0 T _memset
6dd17054 b _messages
6dd17050 b _messages_mutex
6dd10358 T _MHD_add_response_header
6dd10350 T _MHD_create_response_from_data
6dd10348 T _MHD_destroy_response
6dd10340 T _MHD_get_connection_values
6dd10338 T _MHD_lookup_connection_value
6dd10330 T _MHD_queue_response
6dd10328 T _MHD_start_daemon
6dd10320 T _MHD_stop_daemon
6dd105f8 T _mkdir
6dd19f24 I _msys_2_0_dll_iname
6dd10810 T _msys_attach_dll
6dd10800 T _msys_detach_dll
6dd19f3c I _msys_gcc_s_1_dll_iname
6dd19dfc I _msys_glib_2_0_0_dll_iname
6dd19fb4 I _msys_jansson_4_dll_iname
6dd19fe8 I _msys_microhttpd_10_dll_iname
6dd19f58 I _msys_ssp_0_dll_iname
6dd17000 b _obj
6dd17024 B _old_sessions
6dd10600 T _open
6dd17064 b _pidf
6dd11078 d _pidfd
6dd17068 b _pidfile
6dd17090 b _poolsz
6dd10bf8 T _posix_memalign
6dd10608 T _printf
6dd17074 b _printhead
6dd17070 b _printtail
6dd17078 b _printthread
6dd10610 T _pthread_cond_init
6dd10618 T _pthread_cond_signal
6dd10620 T _pthread_cond_timedwait
6dd10628 T _pthread_mutex_init
6dd10630 T _pthread_mutex_lock
6dd10638 T _pthread_mutex_unlock
6dd10640 T _rand
6dd10c00 T _realloc
6dd10c10 t _register_frame_ctor
6dd17028 B _sessions
6dd1719c B _sessions_mutex
6dd17020 B _sessions_watchdog
6dd10648 T _setvbuf
6dd10650 T _snprintf
6dd10658 T _sscanf
6dd17094 b _stopping
6dd170b4 b _storedHandle
6dd170ac b _storedPtr
6dd170b0 b _storedReason
6dd10660 T _strcasecmp
6dd10668 T _strchr
6dd10670 T _strcmp
6dd10678 T _strdup
6dd10680 T _strerror
6dd10688 T _strftime
6dd10690 T _strlen
6dd10698 T _strrchr
6dd106a0 T _strstr
6dd17048 b _sws
6dd106a8 T _time
6dd01630 t _trim
6dd170c0 b _u.26003
6dd106b0 T _unlink
6dd106b8 T _vsnprintf
6dd1704c b _ws
6dd17044 b _ws_path
6dd194a0 i fthunk
$ objdump -p janus.exe
janus.exe: формат файла pei-i386
Характеристики 0x32f
relocations stripped
executable
line numbers stripped
symbols stripped
large address aware
32 bit words
debugging information removed
Time/Date Thu May 8 21:06:26 2031
Magic 010b (PE32)
MajorLinkerVersion 2
MinorLinkerVersion 25
SizeOfCode 00003400
SizeOfInitializedData 00006a00
SizeOfUninitializedData 00000200
AddressOfEntryPoint 00001000
BaseOfCode 00001000
BaseOfData 00005000
ImageBase 00400000
SectionAlignment 00001000
FileAlignment 00000200
MajorOSystemVersion 4
MinorOSystemVersion 0
MajorImageVersion 1
MinorImageVersion 0
MajorSubsystemVersion 4
MinorSubsystemVersion 0
Win32Version 00000000
SizeOfImage 0000c000
SizeOfHeaders 00000400
CheckSum 000160a6
Subsystem 00000003 (Windows CUI)
DllCharacteristics 00008000
SizeOfStackReserve 00200000
SizeOfStackCommit 00001000
SizeOfHeapReserve 00100000
SizeOfHeapCommit 00001000
LoaderFlags 00000000
NumberOfRvaAndSizes 00000010
The Data Directory
Entry 0 00000000 00000000 Export Directory [.edata (or where ever we found it)]
Entry 1 0000a000 000004e8 Import Directory [parts of .idata]
Entry 2 0000b000 000004e8 Resource Directory [.rsrc]
Entry 3 00000000 00000000 Exception Directory [.pdata]
Entry 4 00000000 00000000 Security Directory
Entry 5 00000000 00000000 Base Relocation Directory [.reloc]
Entry 6 00000000 00000000 Debug Directory
Entry 7 00000000 00000000 Description Directory
Entry 8 00000000 00000000 Special Directory
Entry 9 00000000 00000000 Thread Storage Directory [.tls]
Entry a 00000000 00000000 Load Configuration Directory
Entry b 00000000 00000000 Bound Import Directory
Entry c 0000a108 000000b8 Import Address Table Directory
Entry d 00000000 00000000 Delay Import Directory
Entry e 00000000 00000000 CLR Runtime Header
Entry f 00000000 00000000 Reserved
В .idata имеется таблица импорта по адресу 0x40a000
Таблицы импорта (обработан раздел .idata)
vma: Таблица Отметка Цепочка Имя Первый
Указаний Времени Пересылки DLL Шлюз
0000a000 0000a050 00000000 00000000 0000a49c 0000a108
DLL Name: msys-2.0.dll
vma: Hint/Ord Имя-элемента Привязан-к
a1c0 18 __assert_func
a1d0 25 __cxa_atexit
a1e0 39 __errno
a1ec 69 __getreent
a1fc 77 __main
a208 200 _dll_crt0@0
a218 385 _impure_ptr
a228 446 _lstat64
a234 543 _setmode
a240 582 _stat64
a24c 758 calloc
a258 787 chmod
a260 863 cygwin_internal
a274 884 dll_dllcrt0
a284 934 execv
a28c 938 exit
a294 1030 fprintf
a2a0 1032 fputc
a2a8 1042 free
a2b0 1082 fwrite
a2bc 1104 getcwd
a2c8 1109 getenv
a2d4 1326 lstat
a2dc 1331 malloc
a2e8 1349 memcpy
a2f4 1390 msys_detach_dll
a308 1431 posix_memalign
a31c 1598 realloc
a328 1600 realpath
a334 1690 setenv
a340 1795 stat
a348 1799 stpcpy
a354 1803 strcat
a360 1806 strcmp
a36c 1811 strerror
a378 1817 strlen
a384 1935 vfprintf
0000a014 0000a0e8 00000000 00000000 0000a4b4 0000a1a0
DLL Name: msys-gcc_s-1.dll
vma: Hint/Ord Имя-элемента Привязан-к
a390 36 __deregister_frame_info
a3ac 105 __register_frame_info
0000a028 0000a0f4 00000000 00000000 0000a4d8 0000a1ac
DLL Name: KERNEL32.dll
vma: Hint/Ord Имя-элемента Привязан-к
a3c4 357 FreeLibrary
a3d2 534 GetModuleHandleA
a3e6 582 GetProcAddress
a3f8 810 LoadLibraryA
0000a03c 00000000 00000000 00000000 00000000 00000000
The .rsrc Resource Directory section:
000 Type Table: Char: 0, Time: 00000000, Ver: 0/0, Num Names: 0, IDs: 1
010 Entry: ID: 0x000018, Value: 0x80000018
018 Name Table: Char: 0, Time: 00000000, Ver: 0/0, Num Names: 0, IDs: 1
028 Entry: ID: 0x000001, Value: 0x80000030
030 Language Table: Char: 0, Time: 00000000, Ver: 0/0, Num Names: 0, IDs: 1
040 Entry: ID: 00000000, Value: 0x000048
048 Leaf: Addr: 0x00b058, Size: 0x00048f, Codepage: 0
Resources start at offset: 0x58
User@User-DNS MSYS /usr/local/opt
$ janus
---------------------------------------------------
Starting Meetecho Janus (WebRTC Gateway) v0.1.0
---------------------------------------------------
Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are enabled
Adding 'vmnet' to the ICE ignore list...
Using 127.0.0.1 as local IP...
[WARN] Token based authentication disabled
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, IPv6 support disabled)
ICE handles watchdog started
TURN REST API backend: (disabled)
BUNDLE is NOT going to be forced
rtcp-mux is NOT going to be forced
Fingerprint of our certificate: D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38
[WARN] Data Channels support not compiled
Plugins folder: /usr/local/lib/janus/plugins
Transport plugins folder: /usr/local/lib/janus/transports
Loading transport plugin 'msys-janus_http-0.dll'...
Sessions watchdog started
Stopping gateway, please wait...
Ending watchdog mainloop...
Closing transport plugins:
Destroying sessions...
Freeing crypto resources...
Cleaning SDP structures...
Ending ICE handles watchdog mainloop...
Closing plugins:
Bye!
@Globik

This comment has been minimized.

Copy link
Owner Author

@Globik Globik commented Mar 14, 2016

Of course that all does not work properly like on Linux out of the box. Only lucky am I start the janus programm as is and download a transport plugin. Echotest for the time being does not work, only gets work browser on port 127.0.0.1:8088 with no debug's info about anything. Should anyhow unite headers files with c's files as union.
Echo test does not work weil I have sofia-sip-ua library as static .a file
I changed .so extension to .dll in janus.c

@Globik

This comment has been minimized.

Copy link
Owner Author

@Globik Globik commented Mar 24, 2016

Yeah, Now the Janus works like a charm on msys2. Removed all entries of log and debug stuff from the janus_http.c Changed to simple printf. Linked transport directly to utils.o log.o apierror.o etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment