hostapd/src/utils
Johannes Berg 5118319831 trace: Look up start to cope with ASLR
When ASLR is enabled, like it is by default on many distros now,
the trace code doesn't work right.

Fix this by looking up the start of the executable mapping and
subtracing it from all the lookups.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2017-02-28 11:37:19 +02:00
..
.gitignore Add build rules for building a library from src/utils files 2009-12-05 21:39:41 +02:00
base64.c base64: Try to avoid static analyzer warning (part 2) 2014-12-08 11:07:56 +02:00
base64.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
bitfield.c Fix bitfield_get_first_zero() to not read beyond buffer 2015-03-14 13:50:12 +02:00
bitfield.h Add bitfield routines 2013-04-27 22:16:40 +03:00
browser-android.c Android: Give user the option for selecting browser for HS 2.0 OSU 2015-11-22 21:06:17 +02:00
browser-system.c Clean up debug prints to use wpa_printf() 2014-12-26 13:20:57 +02:00
browser-wpadebug.c browser-wpadebug: Send HTTP response with HTTP/1.1 header 2017-02-16 13:35:44 +02:00
browser.c HS 2.0R2: Add wrapper functions for WebKit 2014-03-12 01:09:21 +02:00
browser.h HS 2.0R2: Add wrapper functions for WebKit 2014-03-12 01:09:21 +02:00
build_config.h Remove forgotten Xcode defines 2013-07-09 15:20:17 +03:00
common.c common: Add helper function to convert RSSI to RCPI 2017-01-03 15:18:29 +02:00
common.h common: Add helper function to convert RSSI to RCPI 2017-01-03 15:18:29 +02:00
crc32.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
crc32.h Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
edit.c edit: Increase buffer size to 4096 bytes 2014-03-31 12:30:50 +03:00
edit.h edit: Add support for setting prompt string 2012-08-05 20:46:34 +03:00
edit_readline.c edit: Fix libreadline history clearing with WPA_TRACE 2013-05-14 16:46:38 +03:00
edit_simple.c wpa_cli: Add backspace key process for some terminal 2016-05-13 18:48:45 +03:00
eloop.c kqueue: Use 0 instead of NULL for udata 2016-02-18 17:40:12 +02:00
eloop.h eloop: Fix comments mismatch eloop_event/timeout_handler definitions 2017-02-04 20:41:12 +02:00
eloop_win.c eloop: Add eloop_sock_requeue() 2016-02-07 12:38:04 +02:00
ext_password.c Move extern declarations for ext_password backends into a header file 2016-06-24 19:02:58 +03:00
ext_password.h EXT PW: Add framework for supporting external password storage 2012-08-03 22:15:42 +03:00
ext_password_i.h Move extern declarations for ext_password backends into a header file 2016-06-24 19:02:58 +03:00
ext_password_test.c Clear wpa_supplicant configuration keys explicitly 2014-07-02 12:38:48 +03:00
http-utils.h HS 2.0R2: Add parse_cert command for debugging purposes 2014-03-12 01:09:22 +02:00
http_curl.c curl: Don't free memory for subjectAltName before calling callback 2016-06-19 22:11:36 +03:00
includes.h Drop CONFIG_TI_COMPILER ifdefs 2015-07-17 21:57:07 +03:00
ip_addr.c Remove unused hostapd_ip_diff() 2014-05-26 17:21:44 +03:00
ip_addr.h Remove unused hostapd_ip_diff() 2014-05-26 17:21:44 +03:00
list.h trace: Initialize alloc_list even without os_program_init() call 2015-02-21 17:34:37 +02:00
Makefile Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
module_tests.h tests: Declare module test functions in a header file 2016-06-23 18:26:09 +03:00
os.h trace: Define externs in a header file 2016-06-23 13:28:54 +03:00
os_internal.c Make sure configuration is saved to storage device 2015-08-27 18:06:05 +03:00
os_none.c Make sure configuration is saved to storage device 2015-08-27 18:06:05 +03:00
os_unix.c tests: TEST_FAIL() support for os_get_random() 2017-01-07 22:15:41 +02:00
os_win32.c Make sure configuration is saved to storage device 2015-08-27 18:06:05 +03:00
pcsc_funcs.c Link to, and adjust types for, the PCSC framework included with OSX 2016-08-07 11:20:33 +03:00
pcsc_funcs.h SCARD: Clean up SIM/USIM selection 2013-11-17 16:47:38 +02:00
platform.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap.c radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap_iter.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
state_machine.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
trace.c trace: Look up start to cope with ASLR 2017-02-28 11:37:19 +02:00
trace.h trace: Free symbols on program exit 2016-02-16 14:10:29 +02:00
utils_module_tests.c tests: Declare module test functions in a header file 2016-06-23 18:26:09 +03:00
uuid.c Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
uuid.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wpa_debug.c hostapd: Add possibility to send debug messages to syslog 2017-01-30 00:57:13 +02:00
wpa_debug.h hostapd: Add possibility to send debug messages to syslog 2017-01-30 00:57:13 +02:00
wpabuf.c Removed redundant NULL check for b in wpabuf_concat() 2016-10-28 19:05:08 +03:00
wpabuf.h utils: Rename hostapd_parse_bin to wpabuf_parse_bin and move it 2016-04-09 11:23:36 +03:00
xml-utils.c HS 2.0R2: Add wrapper functions for libxml2 2014-03-12 01:09:22 +02:00
xml-utils.h XML: Remove forgotten, unused definition of debug_print_func 2014-03-31 12:25:13 +03:00
xml_libxml2.c libxml2: Check for xmlDocDumpFormatMemory() error case 2016-03-16 21:49:28 +02:00