contrast-agent 3.10.1 → 3.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.flayignore +1 -0
- data/.simplecov +5 -2
- data/ext/build_funchook.rb +13 -17
- data/ext/cs__assess_active_record_named/cs__active_record_named.c +12 -14
- data/ext/cs__assess_active_record_named/cs__active_record_named.h +1 -0
- data/ext/cs__assess_active_record_named/extconf.rb +3 -0
- data/ext/cs__assess_array/cs__assess_array.c +5 -6
- data/ext/cs__assess_array/cs__assess_array.h +1 -0
- data/ext/cs__assess_array/extconf.rb +3 -0
- data/ext/cs__assess_basic_object/cs__assess_basic_object.c +13 -11
- data/ext/cs__assess_basic_object/cs__assess_basic_object.h +2 -1
- data/ext/cs__assess_basic_object/extconf.rb +3 -0
- data/ext/cs__assess_fiber_track/cs__assess_fiber_track.c +4 -3
- data/ext/cs__assess_fiber_track/cs__assess_fiber_track.h +3 -3
- data/ext/cs__assess_fiber_track/extconf.rb +3 -0
- data/ext/cs__assess_hash/cs__assess_hash.c +40 -17
- data/ext/cs__assess_hash/cs__assess_hash.h +4 -6
- data/ext/cs__assess_hash/extconf.rb +3 -0
- data/ext/cs__assess_kernel/cs__assess_kernel.c +11 -9
- data/ext/cs__assess_kernel/cs__assess_kernel.h +1 -0
- data/ext/cs__assess_kernel/extconf.rb +3 -0
- data/ext/cs__assess_marshal_module/cs__assess_marshal_module.c +3 -6
- data/ext/cs__assess_marshal_module/extconf.rb +3 -0
- data/ext/cs__assess_module/cs__assess_module.c +16 -14
- data/ext/cs__assess_module/cs__assess_module.h +3 -0
- data/ext/cs__assess_module/extconf.rb +3 -0
- data/ext/cs__assess_regexp/cs__assess_regexp.c +13 -9
- data/ext/cs__assess_regexp/cs__assess_regexp.h +1 -0
- data/ext/cs__assess_regexp/extconf.rb +3 -0
- data/ext/cs__assess_string/cs__assess_string.c +5 -8
- data/ext/cs__assess_string/cs__assess_string.h +2 -1
- data/ext/cs__assess_string/extconf.rb +3 -0
- data/ext/cs__assess_string_interpolation26/cs__assess_string_interpolation26.c +2 -2
- data/ext/cs__assess_string_interpolation26/cs__assess_string_interpolation26.h +3 -3
- data/ext/cs__assess_string_interpolation26/extconf.rb +3 -0
- data/ext/cs__assess_yield_track/cs__assess_yield_track.h +1 -1
- data/ext/cs__assess_yield_track/extconf.rb +3 -0
- data/ext/cs__common/cs__common.c +80 -1
- data/ext/cs__common/cs__common.h +34 -0
- data/ext/cs__common/extconf.rb +9 -8
- data/ext/cs__contrast_patch/cs__contrast_patch.h +1 -6
- data/ext/cs__contrast_patch/extconf.rb +3 -0
- data/ext/cs__protect_kernel/cs__protect_kernel.c +23 -12
- data/ext/cs__protect_kernel/cs__protect_kernel.h +1 -0
- data/ext/cs__protect_kernel/extconf.rb +3 -0
- data/ext/extconf_common.rb +10 -8
- data/funchook/autom4te.cache/output.0 +1 -13
- data/funchook/autom4te.cache/requests +50 -51
- data/funchook/autom4te.cache/traces.0 +0 -3
- data/funchook/config.log +378 -217
- data/funchook/config.status +23 -24
- data/funchook/configure +1 -13
- data/funchook/src/Makefile +7 -7
- data/funchook/src/config.h +2 -2
- data/funchook/src/decoder.o +0 -0
- data/funchook/src/distorm.o +0 -0
- data/funchook/src/funchook.o +0 -0
- data/funchook/src/funchook_io.o +0 -0
- data/funchook/src/funchook_syscall.o +0 -0
- data/funchook/src/funchook_unix.o +0 -0
- data/funchook/src/funchook_x86.o +0 -0
- data/funchook/src/instructions.o +0 -0
- data/funchook/src/insts.o +0 -0
- data/funchook/src/libfunchook.dylib +0 -0
- data/funchook/src/mnemonics.o +0 -0
- data/funchook/src/operands.o +0 -0
- data/funchook/src/os_func.o +0 -0
- data/funchook/src/os_func_unix.o +0 -0
- data/funchook/src/prefix.o +0 -0
- data/funchook/src/printf_base.o +0 -0
- data/funchook/src/textdefs.o +0 -0
- data/funchook/src/wstring.o +0 -0
- data/funchook/test/Makefile +2 -2
- data/funchook/test/funchook_test +0 -0
- data/funchook/test/libfunchook_test.so +0 -0
- data/funchook/test/libfunchook_test.so.dSYM/Contents/Info.plist +20 -0
- data/funchook/test/libfunchook_test.so.dSYM/Contents/Resources/DWARF/libfunchook_test.so +0 -0
- data/funchook/test/test_main.o +0 -0
- data/funchook/test/x86_64_test.o +0 -0
- data/lib/contrast.rb +1 -1
- data/lib/contrast/agent.rb +32 -29
- data/lib/contrast/agent/assess.rb +1 -11
- data/lib/contrast/agent/assess/adjusted_span.rb +3 -1
- data/lib/contrast/agent/assess/contrast_event.rb +16 -62
- data/lib/contrast/agent/assess/events/event_factory.rb +25 -0
- data/lib/contrast/agent/assess/events/source_event.rb +83 -0
- data/lib/contrast/agent/assess/insulator.rb +0 -4
- data/lib/contrast/agent/assess/policy/patcher.rb +6 -2
- data/lib/contrast/agent/assess/policy/policy_node.rb +1 -8
- data/lib/contrast/agent/assess/policy/policy_scanner.rb +2 -2
- data/lib/contrast/agent/assess/policy/preshift.rb +1 -1
- data/lib/contrast/agent/assess/policy/propagation_method.rb +68 -33
- data/lib/contrast/agent/assess/policy/propagation_node.rb +2 -1
- data/lib/contrast/agent/assess/policy/propagator.rb +1 -0
- data/lib/contrast/agent/assess/policy/propagator/custom.rb +1 -1
- data/lib/contrast/agent/assess/policy/propagator/database_write.rb +1 -3
- data/lib/contrast/agent/assess/policy/propagator/match_data.rb +80 -0
- data/lib/contrast/agent/assess/policy/propagator/select.rb +35 -22
- data/lib/contrast/agent/assess/policy/propagator/split.rb +26 -6
- data/lib/contrast/agent/assess/policy/propagator/substitution.rb +2 -0
- data/lib/contrast/agent/assess/policy/rewriter_patch.rb +37 -26
- data/lib/contrast/agent/assess/policy/source_method.rb +20 -20
- data/lib/contrast/agent/assess/policy/source_node.rb +0 -15
- data/lib/contrast/agent/assess/policy/trigger/reflected_xss.rb +90 -0
- data/lib/contrast/agent/assess/policy/trigger/xpath.rb +57 -0
- data/lib/contrast/agent/assess/policy/trigger_method.rb +30 -45
- data/lib/contrast/agent/assess/policy/trigger_node.rb +7 -7
- data/lib/contrast/agent/assess/policy/trigger_validation/ssrf_validator.rb +2 -31
- data/lib/contrast/agent/assess/properties.rb +5 -3
- data/lib/contrast/agent/assess/rule/base.rb +1 -20
- data/lib/contrast/agent/assess/rule/provider/hardcoded_value_rule.rb +23 -6
- data/lib/contrast/agent/assess/rule/redos.rb +4 -5
- data/lib/contrast/agent/assess/tag.rb +24 -14
- data/lib/contrast/agent/at_exit_hook.rb +16 -13
- data/lib/contrast/agent/class_reopener.rb +23 -8
- data/lib/contrast/agent/deadzone/policy/policy.rb +2 -2
- data/lib/contrast/agent/disable_reaction.rb +3 -4
- data/lib/contrast/agent/exclusion_matcher.rb +7 -48
- data/lib/contrast/agent/inventory/policy/datastores.rb +54 -0
- data/lib/contrast/agent/inventory/policy/policy.rb +1 -1
- data/lib/contrast/agent/middleware.rb +101 -260
- data/lib/contrast/agent/module_data.rb +2 -1
- data/lib/contrast/agent/patching/policy/after_load_patch.rb +13 -3
- data/lib/contrast/agent/patching/policy/after_load_patcher.rb +59 -47
- data/lib/contrast/agent/patching/policy/method_policy.rb +3 -3
- data/lib/contrast/agent/patching/policy/module_policy.rb +0 -25
- data/lib/contrast/agent/patching/policy/patch.rb +97 -23
- data/lib/contrast/agent/patching/policy/patcher.rb +28 -30
- data/lib/contrast/agent/patching/policy/policy.rb +7 -7
- data/lib/contrast/agent/patching/policy/policy_node.rb +3 -11
- data/lib/contrast/agent/patching/policy/trigger_node.rb +2 -5
- data/lib/contrast/agent/protect/policy/applies_command_injection_rule.rb +63 -0
- data/lib/contrast/agent/protect/policy/applies_deserialization_rule.rb +52 -0
- data/lib/contrast/agent/protect/policy/applies_no_sqli_rule.rb +68 -0
- data/lib/contrast/agent/protect/policy/applies_path_traversal_rule.rb +117 -0
- data/lib/contrast/agent/protect/policy/applies_sqli_rule.rb +54 -0
- data/lib/contrast/agent/protect/policy/applies_xxe_rule.rb +129 -0
- data/lib/contrast/agent/protect/policy/policy.rb +6 -6
- data/lib/contrast/agent/protect/policy/rule_applicator.rb +51 -0
- data/lib/contrast/agent/protect/rule.rb +0 -5
- data/lib/contrast/agent/protect/rule/base.rb +19 -37
- data/lib/contrast/agent/protect/rule/base_service.rb +3 -1
- data/lib/contrast/agent/protect/rule/cmd_injection.rb +12 -15
- data/lib/contrast/agent/protect/rule/default_scanner.rb +0 -13
- data/lib/contrast/agent/protect/rule/deserialization.rb +2 -0
- data/lib/contrast/agent/protect/rule/http_method_tampering.rb +2 -2
- data/lib/contrast/agent/protect/rule/no_sqli.rb +4 -4
- data/lib/contrast/agent/protect/rule/path_traversal.rb +6 -10
- data/lib/contrast/agent/protect/rule/sqli.rb +5 -4
- data/lib/contrast/agent/protect/rule/unsafe_file_upload.rb +2 -0
- data/lib/contrast/agent/protect/rule/xss.rb +2 -0
- data/lib/contrast/agent/protect/rule/xxe.rb +10 -4
- data/lib/contrast/agent/railtie.rb +3 -8
- data/lib/contrast/agent/reaction_processor.rb +5 -5
- data/lib/contrast/agent/request.rb +11 -18
- data/lib/contrast/agent/request_context.rb +16 -19
- data/lib/contrast/agent/request_handler.rb +35 -0
- data/lib/contrast/agent/response.rb +39 -86
- data/lib/contrast/agent/rewriter.rb +22 -10
- data/lib/contrast/agent/rule_set.rb +49 -0
- data/lib/contrast/agent/scope.rb +0 -6
- data/lib/contrast/agent/service_heartbeat.rb +3 -4
- data/lib/contrast/agent/socket_client.rb +25 -19
- data/lib/contrast/agent/static_analysis.rb +41 -0
- data/lib/contrast/agent/thread.rb +1 -1
- data/lib/contrast/agent/tracepoint_hook.rb +1 -5
- data/lib/contrast/agent/version.rb +1 -1
- data/lib/contrast/api.rb +1 -1
- data/lib/contrast/api/decorators.rb +14 -0
- data/lib/contrast/api/decorators/application_settings.rb +37 -0
- data/lib/contrast/api/decorators/application_update.rb +66 -0
- data/lib/contrast/api/decorators/input_analysis.rb +17 -0
- data/lib/contrast/api/decorators/server_features.rb +24 -0
- data/lib/contrast/api/speedracer.rb +28 -24
- data/lib/contrast/api/tcp_socket.rb +0 -2
- data/lib/contrast/components/agent.rb +34 -24
- data/lib/contrast/components/app_context.rb +45 -38
- data/lib/contrast/components/assess.rb +25 -15
- data/lib/contrast/components/config.rb +7 -5
- data/lib/contrast/components/contrast_service.rb +23 -71
- data/lib/contrast/components/heap_dump.rb +12 -8
- data/lib/contrast/components/interface.rb +15 -22
- data/lib/contrast/components/inventory.rb +5 -1
- data/lib/contrast/components/logger.rb +3 -68
- data/lib/contrast/components/protect.rb +40 -4
- data/lib/contrast/components/sampling.rb +22 -11
- data/lib/contrast/components/scope.rb +2 -52
- data/lib/contrast/components/settings.rb +42 -23
- data/lib/contrast/config/base_configuration.rb +1 -0
- data/lib/contrast/config/default_value.rb +1 -0
- data/lib/contrast/config/protect_rule_configuration.rb +0 -14
- data/lib/contrast/config/protect_rules_configuration.rb +0 -1
- data/lib/contrast/configuration.rb +2 -2
- data/lib/contrast/{extensions/ruby_core → extension}/assess.rb +12 -15
- data/lib/contrast/extension/assess/array.rb +77 -0
- data/lib/contrast/{extensions/ruby_core → extension}/assess/assess_extension.rb +29 -24
- data/lib/contrast/{extensions/ruby_core → extension}/assess/erb.rb +0 -8
- data/lib/contrast/extension/assess/eval_trigger.rb +78 -0
- data/lib/contrast/{extensions/ruby_core → extension}/assess/exec_trigger.rb +7 -9
- data/lib/contrast/extension/assess/fiber.rb +113 -0
- data/lib/contrast/extension/assess/hash.rb +39 -0
- data/lib/contrast/extension/assess/kernel.rb +110 -0
- data/lib/contrast/extension/assess/regexp.rb +84 -0
- data/lib/contrast/{extensions/ruby_core → extension}/assess/string.rb +18 -10
- data/lib/contrast/{extensions/ruby_core → extension}/delegator.rb +0 -0
- data/lib/contrast/{extensions/ruby_core → extension}/inventory.rb +2 -2
- data/lib/contrast/extension/kernel.rb +54 -0
- data/lib/contrast/{extensions/ruby_core → extension}/module.rb +0 -0
- data/lib/contrast/{extensions/ruby_core → extension}/protect.rb +2 -2
- data/lib/contrast/extension/protect/kernel.rb +44 -0
- data/lib/contrast/{extensions/ruby_core → extension}/protect/psych.rb +1 -1
- data/lib/contrast/{extensions/ruby_core → extension}/thread.rb +0 -0
- data/lib/contrast/framework/base_support.rb +32 -0
- data/lib/contrast/framework/manager.rb +59 -8
- data/lib/contrast/framework/platform_version.rb +1 -0
- data/lib/contrast/framework/rack/patch/session_cookie.rb +126 -0
- data/lib/contrast/framework/rack/patch/support.rb +24 -0
- data/lib/contrast/framework/rack/support.rb +22 -0
- data/lib/contrast/framework/rails/patch/action_controller_live_buffer.rb +43 -0
- data/lib/contrast/framework/rails/patch/assess_configuration.rb +103 -0
- data/lib/contrast/framework/rails/patch/rails_application_configuration.rb +31 -0
- data/lib/contrast/framework/rails/patch/support.rb +67 -0
- data/lib/contrast/framework/rails/rewrite/action_controller_railties_helper_inherited.rb +34 -0
- data/lib/contrast/framework/rails/rewrite/active_record_attribute_methods_read.rb +39 -0
- data/lib/contrast/framework/rails/rewrite/active_record_named.rb +73 -0
- data/lib/contrast/framework/rails/rewrite/active_record_time_zone_inherited.rb +33 -0
- data/lib/contrast/framework/rails/support.rb +115 -0
- data/lib/contrast/framework/sinatra/application_helper.rb +51 -0
- data/lib/contrast/framework/sinatra/patch/base.rb +83 -0
- data/lib/contrast/framework/sinatra/patch/support.rb +27 -0
- data/lib/contrast/framework/sinatra/support.rb +109 -0
- data/lib/contrast/framework/view_technologies_descriptor.rb +1 -0
- data/lib/contrast/logger/application.rb +80 -0
- data/lib/contrast/logger/log.rb +143 -0
- data/lib/contrast/logger/time.rb +50 -0
- data/lib/contrast/tasks/config.rb +54 -0
- data/lib/contrast/tasks/service.rb +3 -13
- data/lib/contrast/utils/assess/sampling_util.rb +4 -9
- data/lib/contrast/utils/assess/tracking_util.rb +7 -1
- data/lib/contrast/utils/boolean_util.rb +2 -2
- data/lib/contrast/utils/cache.rb +0 -11
- data/lib/contrast/utils/class_util.rb +24 -3
- data/lib/contrast/utils/gemfile_reader.rb +7 -5
- data/lib/contrast/utils/hash_digest.rb +2 -11
- data/lib/contrast/utils/heap_dump_util.rb +12 -11
- data/lib/contrast/utils/invalid_configuration_util.rb +4 -4
- data/lib/contrast/utils/inventory_util.rb +2 -2
- data/lib/contrast/utils/io_util.rb +1 -11
- data/lib/contrast/utils/job_servers_running.rb +6 -4
- data/lib/contrast/utils/object_share.rb +1 -28
- data/lib/contrast/utils/os.rb +1 -25
- data/lib/contrast/utils/service_response_util.rb +36 -60
- data/lib/contrast/utils/service_sender_util.rb +84 -23
- data/lib/contrast/utils/sinatra_helper.rb +0 -6
- data/lib/contrast/utils/stack_trace_utils.rb +86 -182
- data/lib/contrast/utils/string_utils.rb +18 -2
- data/lib/contrast/utils/tag_util.rb +11 -1
- data/lib/contrast/utils/thread_tracker.rb +2 -2
- data/lib/contrast/utils/timer.rb +0 -40
- data/resources/assess/policy.json +42 -71
- data/resources/inventory/policy.json +2 -2
- data/resources/protect/policy.json +15 -15
- data/ruby-agent.gemspec +11 -4
- data/service_executables/VERSION +1 -1
- data/service_executables/linux/contrast-service +0 -0
- data/service_executables/mac/contrast-service +0 -0
- metadata +126 -113
- data/ext/cs__assess_regexp_track/cs__assess_regexp_track.c +0 -63
- data/ext/cs__assess_regexp_track/cs__assess_regexp_track.h +0 -29
- data/ext/cs__assess_regexp_track/extconf.rb +0 -2
- data/funchook/src/libfunchook.so +0 -0
- data/lib/contrast/agent/assess/frozen_properties.rb +0 -41
- data/lib/contrast/agent/assess/rule/csrf.rb +0 -66
- data/lib/contrast/agent/assess/rule/csrf/csrf_action.rb +0 -28
- data/lib/contrast/agent/assess/rule/csrf/csrf_applicator.rb +0 -73
- data/lib/contrast/agent/assess/rule/csrf/csrf_watcher.rb +0 -132
- data/lib/contrast/agent/assess/rule/response_scanning_rule.rb +0 -47
- data/lib/contrast/agent/assess/rule/response_watcher.rb +0 -36
- data/lib/contrast/agent/assess/rule/watcher.rb +0 -36
- data/lib/contrast/agent/feature_state.rb +0 -376
- data/lib/contrast/agent/logger_manager.rb +0 -116
- data/lib/contrast/agent/protect/rule/csrf.rb +0 -118
- data/lib/contrast/agent/protect/rule/csrf/csrf_evaluator.rb +0 -103
- data/lib/contrast/agent/protect/rule/csrf/csrf_token_injector.rb +0 -85
- data/lib/contrast/agent/settings_state.rb +0 -152
- data/lib/contrast/delegators.rb +0 -9
- data/lib/contrast/delegators/application_update.rb +0 -32
- data/lib/contrast/extensions/framework/rack/cookie.rb +0 -24
- data/lib/contrast/extensions/framework/rack/request.rb +0 -24
- data/lib/contrast/extensions/framework/rack/response.rb +0 -23
- data/lib/contrast/extensions/framework/rails/action_controller_railties_helper_inherited.rb +0 -20
- data/lib/contrast/extensions/framework/rails/active_record.rb +0 -26
- data/lib/contrast/extensions/framework/rails/active_record_named.rb +0 -53
- data/lib/contrast/extensions/framework/rails/active_record_time_zone_inherited.rb +0 -21
- data/lib/contrast/extensions/framework/rails/buffer.rb +0 -28
- data/lib/contrast/extensions/framework/rails/configuration.rb +0 -27
- data/lib/contrast/extensions/framework/sinatra/base.rb +0 -59
- data/lib/contrast/extensions/ruby_core/assess/array.rb +0 -59
- data/lib/contrast/extensions/ruby_core/assess/basic_object.rb +0 -15
- data/lib/contrast/extensions/ruby_core/assess/fiber.rb +0 -124
- data/lib/contrast/extensions/ruby_core/assess/hash.rb +0 -22
- data/lib/contrast/extensions/ruby_core/assess/kernel.rb +0 -95
- data/lib/contrast/extensions/ruby_core/assess/module.rb +0 -14
- data/lib/contrast/extensions/ruby_core/assess/regexp.rb +0 -206
- data/lib/contrast/extensions/ruby_core/assess/tilt_template_trigger.rb +0 -73
- data/lib/contrast/extensions/ruby_core/assess/xpath_library_trigger.rb +0 -40
- data/lib/contrast/extensions/ruby_core/eval_trigger.rb +0 -52
- data/lib/contrast/extensions/ruby_core/inventory/datastores.rb +0 -37
- data/lib/contrast/extensions/ruby_core/protect/applies_command_injection_rule.rb +0 -72
- data/lib/contrast/extensions/ruby_core/protect/applies_deserialization_rule.rb +0 -60
- data/lib/contrast/extensions/ruby_core/protect/applies_no_sqli_rule.rb +0 -83
- data/lib/contrast/extensions/ruby_core/protect/applies_path_traversal_rule.rb +0 -123
- data/lib/contrast/extensions/ruby_core/protect/applies_sqli_rule.rb +0 -65
- data/lib/contrast/extensions/ruby_core/protect/applies_xxe_rule.rb +0 -143
- data/lib/contrast/extensions/ruby_core/protect/kernel.rb +0 -30
- data/lib/contrast/framework/rails_support.rb +0 -88
- data/lib/contrast/framework/sinatra_application_helper.rb +0 -49
- data/lib/contrast/framework/sinatra_support.rb +0 -94
- data/lib/contrast/utils/comment_range.rb +0 -19
- data/lib/contrast/utils/data_store_util.rb +0 -23
- data/lib/contrast/utils/environment_util.rb +0 -81
- data/lib/contrast/utils/performs_logging.rb +0 -152
- data/lib/contrast/utils/rack_assess_session_cookie.rb +0 -104
- data/lib/contrast/utils/rails_assess_configuration.rb +0 -95
- data/lib/contrast/utils/random_util.rb +0 -22
- data/resources/csrf/inject.js +0 -44
- data/resources/factory-bot-spec/spec_helper.rb +0 -30
- data/resources/rubocops/kernel/catch_cop.rb +0 -37
- data/resources/rubocops/kernel/require_cop.rb +0 -37
- data/resources/rubocops/kernel/require_relative_cop.rb +0 -33
- data/resources/rubocops/module/autoload_cop.rb +0 -37
- data/resources/rubocops/module/const_defined_cop.rb +0 -37
- data/resources/rubocops/module/const_get_cop.rb +0 -37
- data/resources/rubocops/module/const_set_cop.rb +0 -37
- data/resources/rubocops/module/constants_cop.rb +0 -37
- data/resources/rubocops/module/name_cop.rb +0 -37
- data/resources/rubocops/object/class_cop.rb +0 -37
- data/resources/rubocops/object/freeze_cop.rb +0 -37
- data/resources/rubocops/object/frozen_cop.rb +0 -37
- data/resources/rubocops/object/is_a_cop.rb +0 -37
- data/resources/rubocops/object/method_cop.rb +0 -37
- data/resources/rubocops/object/respond_to_cop.rb +0 -37
- data/resources/rubocops/object/singleton_class_cop.rb +0 -37
- data/resources/rubocops/regexp/spelling_cop.rb +0 -44
- data/resources/rubocops/thread/new_cop.rb +0 -39
- data/resources/ruby-spec/ancestors_spec.rb +0 -70
- data/resources/ruby-spec/modulo_spec.rb +0 -831
- data/resources/ruby-spec/parameters_spec.rb +0 -261
- data/resources/ruby-spec/ruby_spec_spec_helper.rb +0 -35
@@ -9,12 +9,23 @@ static VALUE contrast_protect_fork(const int argc, const VALUE *argv,
|
|
9
9
|
const VALUE self) {
|
10
10
|
VALUE ret;
|
11
11
|
if (rb_block_given_p()) {
|
12
|
+
/* We call our hook, but it's a little complicated.
|
13
|
+
* We wrap the fork block with our own lambda in
|
14
|
+
* order to instrument it. There are no public
|
15
|
+
* methods in the Ruby C API to set the prevailing
|
16
|
+
* block, so we have to use rb_funcall_with_block.
|
17
|
+
* Also, rb_funcall_with_block does a public call,
|
18
|
+
* and our method is private.
|
19
|
+
* So we (as a hack) temporarily set it to public.
|
20
|
+
*/
|
12
21
|
VALUE wrapper;
|
13
22
|
wrapper =
|
14
|
-
rb_funcall_with_block(
|
15
|
-
|
23
|
+
rb_funcall_with_block(kernel_protect, rb_sym_protect_kernel_wrapper, 0,
|
24
|
+
NULL, rb_block_proc());
|
25
|
+
rb_funcall(rb_mKernel, rb_intern("public"), 1, ID2SYM(rb_sym_protect_kernel_fork));
|
16
26
|
ret = rb_funcall_with_block(self, rb_sym_protect_kernel_fork, argc,
|
17
27
|
argv, wrapper);
|
28
|
+
rb_funcall(rb_mKernel, rb_intern("private"), 1, ID2SYM(rb_sym_protect_kernel_fork));
|
18
29
|
} else {
|
19
30
|
ret = rb_funcall2(self, rb_sym_protect_kernel_fork, argc, argv);
|
20
31
|
}
|
@@ -22,16 +33,16 @@ static VALUE contrast_protect_fork(const int argc, const VALUE *argv,
|
|
22
33
|
}
|
23
34
|
|
24
35
|
void Init_cs__protect_kernel(void) {
|
36
|
+
VALUE core_protect = rb_define_module_under(core_extensions, "Protect");
|
37
|
+
kernel_protect = rb_define_module_under(core_protect, "Kernel");
|
38
|
+
rb_sym_protect_kernel_wrapper = rb_intern("build_wrapper");
|
25
39
|
|
26
|
-
rb_sym_protect_kernel_fork =
|
27
|
-
|
40
|
+
rb_sym_protect_kernel_fork = contrast_register_patch("Kernel",
|
41
|
+
"fork",
|
42
|
+
&contrast_protect_fork);
|
43
|
+
|
44
|
+
rb_sym_protect_kernel_fork = contrast_register_singleton_patch("Kernel",
|
45
|
+
"fork",
|
46
|
+
&contrast_protect_fork);
|
28
47
|
|
29
|
-
VALUE singleton = rb_singleton_class(rb_mKernel);
|
30
|
-
contrast_alias_method(rb_mKernel, "cs__protect_kernel_fork", "fork");
|
31
|
-
contrast_alias_method(singleton, "cs__protect_kernel_fork", "fork");
|
32
|
-
rb_define_module_function(rb_mKernel, "fork", contrast_protect_fork, -1);
|
33
|
-
// Kernel#fork, as opposed to Kernel.fork, is private. Restore that.
|
34
|
-
rb_funcall(rb_mKernel, rb_intern("public"), 1,
|
35
|
-
ID2SYM(rb_intern("cs__protect_kernel_fork")));
|
36
|
-
rb_funcall(rb_mKernel, rb_intern("private"), 1, ID2SYM(rb_intern("fork")));
|
37
48
|
}
|
data/ext/extconf_common.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
|
2
|
-
|
2
|
+
# frozen_string_literal: true
|
3
3
|
|
4
|
+
require 'mkmf'
|
4
5
|
require_relative '../lib/contrast/agent/version'
|
5
6
|
|
6
7
|
def name
|
@@ -8,7 +9,7 @@ def name
|
|
8
9
|
end
|
9
10
|
|
10
11
|
def make!
|
11
|
-
create_makefile "#{name}/#{name}"
|
12
|
+
create_makefile "#{ name }/#{ name }"
|
12
13
|
end
|
13
14
|
|
14
15
|
def ext_path
|
@@ -18,23 +19,24 @@ def ext_path
|
|
18
19
|
end
|
19
20
|
|
20
21
|
def rpath_root
|
21
|
-
if (
|
22
|
-
|
22
|
+
if (/darwin/ =~ RUBY_PLATFORM).nil?
|
23
|
+
'\$${ORIGIN}'
|
23
24
|
else
|
24
|
-
|
25
|
+
'@loader_path'
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
28
29
|
def funchook_rpath!
|
29
|
-
options = " -Wl,-rpath,#{rpath_root}/../../shared_libraries"
|
30
|
+
options = " -Wl,-rpath,#{ rpath_root }/../../shared_libraries"
|
30
31
|
raise unless try_link('int main() {return 0;}', options)
|
32
|
+
|
31
33
|
$LDFLAGS << options
|
32
|
-
$LDFLAGS << " -L#{__dir__}/../shared_libraries"
|
34
|
+
$LDFLAGS << " -L#{ __dir__ }/../shared_libraries"
|
33
35
|
|
34
36
|
find_header('funchook.h', ext_path)
|
35
37
|
have_header('funchook.h')
|
36
38
|
|
37
|
-
find_library('funchook', 'funchook_create',
|
39
|
+
find_library('funchook', 'funchook_create', '../shared_libraries')
|
38
40
|
find_library('funchook', 'funchook_install')
|
39
41
|
find_library('funchook', 'funchook_prepare')
|
40
42
|
have_library('funchook', 'funchook_create')
|
@@ -665,7 +665,6 @@ infodir
|
|
665
665
|
docdir
|
666
666
|
oldincludedir
|
667
667
|
includedir
|
668
|
-
runstatedir
|
669
668
|
localstatedir
|
670
669
|
sharedstatedir
|
671
670
|
sysconfdir
|
@@ -736,7 +735,6 @@ datadir='${datarootdir}'
|
|
736
735
|
sysconfdir='${prefix}/etc'
|
737
736
|
sharedstatedir='${prefix}/com'
|
738
737
|
localstatedir='${prefix}/var'
|
739
|
-
runstatedir='${localstatedir}/run'
|
740
738
|
includedir='${prefix}/include'
|
741
739
|
oldincludedir='/usr/include'
|
742
740
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
@@ -989,15 +987,6 @@ do
|
|
989
987
|
| -silent | --silent | --silen | --sile | --sil)
|
990
988
|
silent=yes ;;
|
991
989
|
|
992
|
-
-runstatedir | --runstatedir | --runstatedi | --runstated \
|
993
|
-
| --runstate | --runstat | --runsta | --runst | --runs \
|
994
|
-
| --run | --ru | --r)
|
995
|
-
ac_prev=runstatedir ;;
|
996
|
-
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
997
|
-
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
998
|
-
| --run=* | --ru=* | --r=*)
|
999
|
-
runstatedir=$ac_optarg ;;
|
1000
|
-
|
1001
990
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
1002
991
|
ac_prev=sbindir ;;
|
1003
992
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
@@ -1135,7 +1124,7 @@ fi
|
|
1135
1124
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1136
1125
|
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1137
1126
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1138
|
-
libdir localedir mandir
|
1127
|
+
libdir localedir mandir
|
1139
1128
|
do
|
1140
1129
|
eval ac_val=\$$ac_var
|
1141
1130
|
# Remove trailing slashes.
|
@@ -1288,7 +1277,6 @@ Fine tuning of the installation directories:
|
|
1288
1277
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1289
1278
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1290
1279
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1291
|
-
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
1292
1280
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
1293
1281
|
--includedir=DIR C header files [PREFIX/include]
|
1294
1282
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was generated
|
1
|
+
# This file was generated.
|
2
2
|
# It contains the lists of macros which have been traced.
|
3
3
|
# It can be safely removed.
|
4
4
|
|
@@ -7,71 +7,70 @@
|
|
7
7
|
'0',
|
8
8
|
1,
|
9
9
|
[
|
10
|
-
'/usr/share/autoconf'
|
10
|
+
'/usr/local/Cellar/autoconf/2.69/share/autoconf'
|
11
11
|
],
|
12
12
|
[
|
13
|
-
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
13
|
+
'/usr/local/Cellar/autoconf/2.69/share/autoconf/autoconf/autoconf.m4f',
|
14
14
|
'configure.ac'
|
15
15
|
],
|
16
16
|
{
|
17
|
-
'
|
18
|
-
'
|
19
|
-
'
|
20
|
-
'
|
21
|
-
'AC_REQUIRE_AUX_FILE' => 1,
|
22
|
-
'AM_PATH_GUILE' => 1,
|
23
|
-
'AC_FC_PP_SRCEXT' => 1,
|
17
|
+
'AC_SUBST' => 1,
|
18
|
+
'LT_INIT' => 1,
|
19
|
+
'include' => 1,
|
20
|
+
'AM_MAINTAINER_MODE' => 1,
|
24
21
|
'm4_pattern_allow' => 1,
|
25
|
-
'
|
26
|
-
'
|
27
|
-
'AC_CONFIG_FILES' => 1,
|
28
|
-
'AC_INIT' => 1,
|
29
|
-
'AM_XGETTEXT_OPTION' => 1,
|
30
|
-
'm4_include' => 1,
|
31
|
-
'AC_FC_SRCEXT' => 1,
|
32
|
-
'LT_SUPPORTED_TAG' => 1,
|
22
|
+
'_AM_MAKEFILE_INCLUDE' => 1,
|
23
|
+
'AM_SILENT_RULES' => 1,
|
33
24
|
'AM_CONDITIONAL' => 1,
|
25
|
+
'LT_CONFIG_LTDL_DIR' => 1,
|
26
|
+
'AM_PROG_F77_C_O' => 1,
|
27
|
+
'sinclude' => 1,
|
28
|
+
'AM_PROG_MOC' => 1,
|
29
|
+
'm4_sinclude' => 1,
|
30
|
+
'AC_FC_SRCEXT' => 1,
|
34
31
|
'_AM_COND_ENDIF' => 1,
|
35
|
-
'
|
36
|
-
'
|
37
|
-
'
|
32
|
+
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
33
|
+
'LT_SUPPORTED_TAG' => 1,
|
34
|
+
'AC_CONFIG_AUX_DIR' => 1,
|
35
|
+
'AM_MAKEFILE_INCLUDE' => 1,
|
36
|
+
'AM_PROG_CC_C_O' => 1,
|
37
|
+
'AM_POT_TOOLS' => 1,
|
38
|
+
'AM_GNU_GETTEXT' => 1,
|
38
39
|
'AH_OUTPUT' => 1,
|
40
|
+
'AC_SUBST_TRACE' => 1,
|
41
|
+
'AM_NLS' => 1,
|
39
42
|
'_AM_SUBST_NOTMAKE' => 1,
|
43
|
+
'm4_include' => 1,
|
44
|
+
'AM_PROG_AR' => 1,
|
45
|
+
'AC_FC_PP_DEFINE' => 1,
|
46
|
+
'AC_CANONICAL_SYSTEM' => 1,
|
47
|
+
'AM_XGETTEXT_OPTION' => 1,
|
48
|
+
'AC_LIBSOURCE' => 1,
|
49
|
+
'_AM_COND_ELSE' => 1,
|
40
50
|
'AM_AUTOMAKE_VERSION' => 1,
|
41
|
-
'
|
42
|
-
'
|
51
|
+
'AC_PROG_LIBTOOL' => 1,
|
52
|
+
'AC_CONFIG_SUBDIRS' => 1,
|
53
|
+
'AC_CANONICAL_HOST' => 1,
|
54
|
+
'AC_CONFIG_FILES' => 1,
|
55
|
+
'AC_CONFIG_HEADERS' => 1,
|
43
56
|
'AC_CONFIG_LINKS' => 1,
|
44
|
-
'
|
45
|
-
'AM_PROG_CXX_C_O' => 1,
|
57
|
+
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
46
58
|
'AC_CANONICAL_BUILD' => 1,
|
47
|
-
'
|
48
|
-
'
|
49
|
-
'
|
50
|
-
'
|
51
|
-
'
|
52
|
-
'AC_LIBSOURCE' => 1,
|
53
|
-
'_AM_MAKEFILE_INCLUDE' => 1,
|
59
|
+
'_m4_warn' => 1,
|
60
|
+
'AC_INIT' => 1,
|
61
|
+
'AM_INIT_AUTOMAKE' => 1,
|
62
|
+
'AC_FC_PP_SRCEXT' => 1,
|
63
|
+
'AM_PROG_FC_C_O' => 1,
|
54
64
|
'AC_CANONICAL_TARGET' => 1,
|
55
|
-
'AM_SILENT_RULES' => 1,
|
56
|
-
'LT_INIT' => 1,
|
57
|
-
'AC_CANONICAL_HOST' => 1,
|
58
|
-
'AC_CONFIG_AUX_DIR' => 1,
|
59
|
-
'm4_sinclude' => 1,
|
60
|
-
'AM_PROG_CC_C_O' => 1,
|
61
65
|
'AC_DEFINE_TRACE_LITERAL' => 1,
|
62
|
-
'
|
63
|
-
'
|
64
|
-
'
|
65
|
-
'
|
66
|
-
'
|
67
|
-
'
|
68
|
-
'
|
69
|
-
'
|
70
|
-
'AC_CONFIG_SUBDIRS' => 1,
|
71
|
-
'AM_PROG_FC_C_O' => 1,
|
72
|
-
'AM_PROG_F77_C_O' => 1,
|
73
|
-
'AC_SUBST_TRACE' => 1,
|
74
|
-
'AC_SUBST' => 1
|
66
|
+
'AM_PROG_CXX_C_O' => 1,
|
67
|
+
'_LT_AC_TAGCONFIG' => 1,
|
68
|
+
'_AM_COND_IF' => 1,
|
69
|
+
'AM_PATH_GUILE' => 1,
|
70
|
+
'AC_FC_FREEFORM' => 1,
|
71
|
+
'm4_pattern_forbid' => 1,
|
72
|
+
'AC_REQUIRE_AUX_FILE' => 1,
|
73
|
+
'AM_ENABLE_MULTILIB' => 1
|
75
74
|
}
|
76
75
|
], 'Autom4te::Request' )
|
77
76
|
);
|
@@ -63,9 +63,6 @@ m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
|
|
63
63
|
m4trace:configure.ac:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
64
64
|
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localstatedir])
|
65
65
|
m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
|
66
|
-
m4trace:configure.ac:1: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
|
67
|
-
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([runstatedir])
|
68
|
-
m4trace:configure.ac:1: -1- m4_pattern_allow([^runstatedir$])
|
69
66
|
m4trace:configure.ac:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
70
67
|
m4trace:configure.ac:1: -1- AC_SUBST_TRACE([includedir])
|
71
68
|
m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
|
data/funchook/config.log
CHANGED
@@ -10,109 +10,118 @@ generated by GNU Autoconf 2.69. Invocation command line was
|
|
10
10
|
## Platform. ##
|
11
11
|
## --------- ##
|
12
12
|
|
13
|
-
hostname =
|
13
|
+
hostname = donalds-mbp-2.lan
|
14
14
|
uname -m = x86_64
|
15
|
-
uname -r =
|
16
|
-
uname -s =
|
17
|
-
uname -v =
|
15
|
+
uname -r = 18.6.0
|
16
|
+
uname -s = Darwin
|
17
|
+
uname -v = Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64
|
18
18
|
|
19
|
-
/usr/bin/uname -p =
|
19
|
+
/usr/bin/uname -p = i386
|
20
20
|
/bin/uname -X = unknown
|
21
21
|
|
22
22
|
/bin/arch = unknown
|
23
23
|
/usr/bin/arch -k = unknown
|
24
24
|
/usr/convex/getsysinfo = unknown
|
25
|
-
/usr/bin/hostinfo =
|
25
|
+
/usr/bin/hostinfo = Mach kernel version:
|
26
|
+
Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64
|
27
|
+
Kernel configured for up to 16 processors.
|
28
|
+
8 processors are physically available.
|
29
|
+
16 processors are logically available.
|
30
|
+
Processor type: x86_64h (Intel x86-64h Haswell)
|
31
|
+
Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
32
|
+
Primary memory available: 32.00 gigabytes
|
33
|
+
Default processor set: 466 tasks, 2706 threads, 16 processors
|
34
|
+
Load average: 5.07, Mach factor: 10.92
|
26
35
|
/bin/machine = unknown
|
27
36
|
/usr/bin/oslevel = unknown
|
28
37
|
/bin/universe = unknown
|
29
38
|
|
30
|
-
PATH: /
|
31
|
-
PATH: /
|
39
|
+
PATH: /Users/donaldpropst/.rvm/gems/ruby-2.6.6@agent/bin
|
40
|
+
PATH: /Users/donaldpropst/.rvm/gems/ruby-2.6.6@global/bin
|
41
|
+
PATH: /Users/donaldpropst/.rvm/rubies/ruby-2.6.6/bin
|
42
|
+
PATH: /Users/donaldpropst/.rvm/bin
|
43
|
+
PATH: /Users/donaldpropst/.yarn/bin
|
44
|
+
PATH: /Library/Frameworks/Python.framework/Versions/3.8/bin
|
32
45
|
PATH: /usr/local/bin
|
33
|
-
PATH: /usr/sbin
|
34
46
|
PATH: /usr/bin
|
35
|
-
PATH: /sbin
|
36
47
|
PATH: /bin
|
48
|
+
PATH: /usr/sbin
|
49
|
+
PATH: /sbin
|
50
|
+
PATH: /Users/donaldpropst/go
|
51
|
+
PATH: /usr/local/go/bin
|
37
52
|
|
38
53
|
|
39
54
|
## ----------- ##
|
40
55
|
## Core tests. ##
|
41
56
|
## ----------- ##
|
42
57
|
|
43
|
-
configure:
|
44
|
-
configure:
|
45
|
-
configure:
|
46
|
-
configure:
|
47
|
-
configure:
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
configure:
|
54
|
-
configure:
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
OFFLOAD_TARGET_NAMES=nvptx-none
|
59
|
-
OFFLOAD_TARGET_DEFAULT=1
|
60
|
-
Target: x86_64-linux-gnu
|
61
|
-
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
58
|
+
configure:2263: checking for gcc
|
59
|
+
configure:2279: found /usr/bin/gcc
|
60
|
+
configure:2290: result: gcc
|
61
|
+
configure:2519: checking for C compiler version
|
62
|
+
configure:2528: gcc --version >&5
|
63
|
+
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
|
64
|
+
Target: x86_64-apple-darwin18.6.0
|
65
|
+
Thread model: posix
|
66
|
+
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
|
67
|
+
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
|
68
|
+
configure:2539: $? = 0
|
69
|
+
configure:2528: gcc -v >&5
|
70
|
+
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
|
71
|
+
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
|
72
|
+
Target: x86_64-apple-darwin18.6.0
|
62
73
|
Thread model: posix
|
63
|
-
|
64
|
-
configure:
|
65
|
-
configure:
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
configure:
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
configure:
|
75
|
-
configure:
|
76
|
-
configure:
|
77
|
-
configure:
|
78
|
-
configure:
|
79
|
-
configure:2644: checking for
|
80
|
-
configure:
|
81
|
-
configure:
|
82
|
-
configure:
|
83
|
-
configure:
|
84
|
-
configure:
|
85
|
-
configure:
|
86
|
-
configure:
|
87
|
-
configure:
|
88
|
-
configure:
|
89
|
-
configure:
|
90
|
-
configure:
|
91
|
-
configure:
|
92
|
-
configure:
|
93
|
-
configure:
|
94
|
-
configure:
|
95
|
-
configure:
|
96
|
-
configure:
|
97
|
-
configure:
|
98
|
-
configure:
|
99
|
-
configure:
|
100
|
-
configure:
|
101
|
-
configure:
|
102
|
-
configure:
|
103
|
-
configure:
|
104
|
-
configure:
|
105
|
-
configure:
|
106
|
-
configure:
|
107
|
-
configure:
|
108
|
-
configure:
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
compilation terminated.
|
115
|
-
configure:3036: $? = 1
|
74
|
+
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
|
75
|
+
configure:2539: $? = 0
|
76
|
+
configure:2528: gcc -V >&5
|
77
|
+
clang: error: unsupported option '-V -Wno-atomic-implicit-seq-cst'
|
78
|
+
clang: error: no input files
|
79
|
+
configure:2539: $? = 1
|
80
|
+
configure:2528: gcc -qversion >&5
|
81
|
+
clang: error: unknown argument '-qversion', did you mean '--version'?
|
82
|
+
clang: error: no input files
|
83
|
+
configure:2539: $? = 1
|
84
|
+
configure:2559: checking whether the C compiler works
|
85
|
+
configure:2581: gcc conftest.c >&5
|
86
|
+
configure:2585: $? = 0
|
87
|
+
configure:2633: result: yes
|
88
|
+
configure:2636: checking for C compiler default output file name
|
89
|
+
configure:2638: result: a.out
|
90
|
+
configure:2644: checking for suffix of executables
|
91
|
+
configure:2651: gcc -o conftest conftest.c >&5
|
92
|
+
configure:2655: $? = 0
|
93
|
+
configure:2677: result:
|
94
|
+
configure:2699: checking whether we are cross compiling
|
95
|
+
configure:2707: gcc -o conftest conftest.c >&5
|
96
|
+
configure:2711: $? = 0
|
97
|
+
configure:2718: ./conftest
|
98
|
+
configure:2722: $? = 0
|
99
|
+
configure:2737: result: no
|
100
|
+
configure:2742: checking for suffix of object files
|
101
|
+
configure:2764: gcc -c conftest.c >&5
|
102
|
+
configure:2768: $? = 0
|
103
|
+
configure:2789: result: o
|
104
|
+
configure:2793: checking whether we are using the GNU C compiler
|
105
|
+
configure:2812: gcc -c conftest.c >&5
|
106
|
+
configure:2812: $? = 0
|
107
|
+
configure:2821: result: yes
|
108
|
+
configure:2830: checking whether gcc accepts -g
|
109
|
+
configure:2850: gcc -c -g conftest.c >&5
|
110
|
+
configure:2850: $? = 0
|
111
|
+
configure:2891: result: yes
|
112
|
+
configure:2908: checking for gcc option to accept ISO C89
|
113
|
+
configure:2971: gcc -c -g -O2 conftest.c >&5
|
114
|
+
configure:2971: $? = 0
|
115
|
+
configure:2984: result: none needed
|
116
|
+
configure:3010: checking how to run the C preprocessor
|
117
|
+
configure:3041: gcc -E conftest.c
|
118
|
+
configure:3041: $? = 0
|
119
|
+
configure:3055: gcc -E conftest.c
|
120
|
+
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
|
121
|
+
#include <ac_nonexistent.h>
|
122
|
+
^~~~~~~~~~~~~~~~~~
|
123
|
+
1 error generated.
|
124
|
+
configure:3055: $? = 1
|
116
125
|
configure: failed program was:
|
117
126
|
| /* confdefs.h */
|
118
127
|
| #define PACKAGE_NAME "funchook"
|
@@ -123,15 +132,15 @@ configure: failed program was:
|
|
123
132
|
| #define PACKAGE_URL ""
|
124
133
|
| /* end confdefs.h. */
|
125
134
|
| #include <ac_nonexistent.h>
|
126
|
-
configure:
|
127
|
-
configure:
|
128
|
-
configure:
|
129
|
-
configure:
|
130
|
-
conftest.c:9:10: fatal error: ac_nonexistent.h
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
configure:
|
135
|
+
configure:3080: result: gcc -E
|
136
|
+
configure:3100: gcc -E conftest.c
|
137
|
+
configure:3100: $? = 0
|
138
|
+
configure:3114: gcc -E conftest.c
|
139
|
+
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
|
140
|
+
#include <ac_nonexistent.h>
|
141
|
+
^~~~~~~~~~~~~~~~~~
|
142
|
+
1 error generated.
|
143
|
+
configure:3114: $? = 1
|
135
144
|
configure: failed program was:
|
136
145
|
| /* confdefs.h */
|
137
146
|
| #define PACKAGE_NAME "funchook"
|
@@ -142,61 +151,61 @@ configure: failed program was:
|
|
142
151
|
| #define PACKAGE_URL ""
|
143
152
|
| /* end confdefs.h. */
|
144
153
|
| #include <ac_nonexistent.h>
|
145
|
-
configure:
|
146
|
-
configure:
|
147
|
-
configure:
|
148
|
-
configure:
|
149
|
-
configure:
|
150
|
-
configure:
|
151
|
-
configure:
|
152
|
-
configure:
|
153
|
-
configure:
|
154
|
-
configure:
|
155
|
-
configure:
|
156
|
-
configure:
|
157
|
-
configure:
|
158
|
-
configure:
|
159
|
-
configure:
|
160
|
-
configure:
|
161
|
-
configure:
|
162
|
-
configure:
|
163
|
-
configure:
|
164
|
-
configure:
|
165
|
-
configure:
|
166
|
-
configure:
|
167
|
-
configure:
|
168
|
-
configure:
|
169
|
-
configure:
|
170
|
-
configure:
|
171
|
-
configure:
|
172
|
-
configure:
|
173
|
-
configure:
|
174
|
-
configure:
|
175
|
-
configure:
|
176
|
-
configure:
|
177
|
-
configure:
|
178
|
-
configure:
|
179
|
-
configure:
|
180
|
-
configure:
|
181
|
-
configure:
|
182
|
-
configure:
|
183
|
-
configure:
|
184
|
-
configure:
|
185
|
-
configure:
|
186
|
-
configure:
|
187
|
-
configure:
|
188
|
-
configure:
|
189
|
-
configure:
|
190
|
-
configure:
|
191
|
-
configure:
|
192
|
-
configure:
|
193
|
-
configure:
|
194
|
-
configure:
|
195
|
-
conftest.c:52:10: fatal error: minix/config.h
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
configure:
|
154
|
+
configure:3143: checking for grep that handles long lines and -e
|
155
|
+
configure:3201: result: /usr/bin/grep
|
156
|
+
configure:3206: checking for egrep
|
157
|
+
configure:3268: result: /usr/bin/grep -E
|
158
|
+
configure:3273: checking for ANSI C header files
|
159
|
+
configure:3293: gcc -c -g -O2 conftest.c >&5
|
160
|
+
configure:3293: $? = 0
|
161
|
+
configure:3366: gcc -o conftest -g -O2 conftest.c >&5
|
162
|
+
configure:3366: $? = 0
|
163
|
+
configure:3366: ./conftest
|
164
|
+
configure:3366: $? = 0
|
165
|
+
configure:3377: result: yes
|
166
|
+
configure:3390: checking for sys/types.h
|
167
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
168
|
+
configure:3390: $? = 0
|
169
|
+
configure:3390: result: yes
|
170
|
+
configure:3390: checking for sys/stat.h
|
171
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
172
|
+
configure:3390: $? = 0
|
173
|
+
configure:3390: result: yes
|
174
|
+
configure:3390: checking for stdlib.h
|
175
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
176
|
+
configure:3390: $? = 0
|
177
|
+
configure:3390: result: yes
|
178
|
+
configure:3390: checking for string.h
|
179
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
180
|
+
configure:3390: $? = 0
|
181
|
+
configure:3390: result: yes
|
182
|
+
configure:3390: checking for memory.h
|
183
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
184
|
+
configure:3390: $? = 0
|
185
|
+
configure:3390: result: yes
|
186
|
+
configure:3390: checking for strings.h
|
187
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
188
|
+
configure:3390: $? = 0
|
189
|
+
configure:3390: result: yes
|
190
|
+
configure:3390: checking for inttypes.h
|
191
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
192
|
+
configure:3390: $? = 0
|
193
|
+
configure:3390: result: yes
|
194
|
+
configure:3390: checking for stdint.h
|
195
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
196
|
+
configure:3390: $? = 0
|
197
|
+
configure:3390: result: yes
|
198
|
+
configure:3390: checking for unistd.h
|
199
|
+
configure:3390: gcc -c -g -O2 conftest.c >&5
|
200
|
+
configure:3390: $? = 0
|
201
|
+
configure:3390: result: yes
|
202
|
+
configure:3403: checking minix/config.h usability
|
203
|
+
configure:3403: gcc -c -g -O2 conftest.c >&5
|
204
|
+
conftest.c:52:10: fatal error: 'minix/config.h' file not found
|
205
|
+
#include <minix/config.h>
|
206
|
+
^~~~~~~~~~~~~~~~
|
207
|
+
1 error generated.
|
208
|
+
configure:3403: $? = 1
|
200
209
|
configure: failed program was:
|
201
210
|
| /* confdefs.h */
|
202
211
|
| #define PACKAGE_NAME "funchook"
|
@@ -250,14 +259,14 @@ configure: failed program was:
|
|
250
259
|
| # include <unistd.h>
|
251
260
|
| #endif
|
252
261
|
| #include <minix/config.h>
|
253
|
-
configure:
|
254
|
-
configure:
|
255
|
-
configure:
|
256
|
-
conftest.c:19:10: fatal error: minix/config.h
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
configure:
|
262
|
+
configure:3403: result: no
|
263
|
+
configure:3403: checking minix/config.h presence
|
264
|
+
configure:3403: gcc -E conftest.c
|
265
|
+
conftest.c:19:10: fatal error: 'minix/config.h' file not found
|
266
|
+
#include <minix/config.h>
|
267
|
+
^~~~~~~~~~~~~~~~
|
268
|
+
1 error generated.
|
269
|
+
configure:3403: $? = 1
|
261
270
|
configure: failed program was:
|
262
271
|
| /* confdefs.h */
|
263
272
|
| #define PACKAGE_NAME "funchook"
|
@@ -278,40 +287,193 @@ configure: failed program was:
|
|
278
287
|
| #define HAVE_UNISTD_H 1
|
279
288
|
| /* end confdefs.h. */
|
280
289
|
| #include <minix/config.h>
|
281
|
-
configure:
|
282
|
-
configure:
|
283
|
-
configure:
|
284
|
-
configure:
|
285
|
-
configure:
|
286
|
-
configure:
|
287
|
-
configure:
|
288
|
-
configure:
|
289
|
-
configure:
|
290
|
-
configure:
|
291
|
-
configure:
|
292
|
-
configure:
|
293
|
-
configure:
|
294
|
-
configure:
|
295
|
-
configure:
|
296
|
-
configure:
|
297
|
-
configure:
|
298
|
-
configure:
|
299
|
-
configure:
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
configure:
|
305
|
-
configure:
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
290
|
+
configure:3403: result: no
|
291
|
+
configure:3403: checking for minix/config.h
|
292
|
+
configure:3403: result: no
|
293
|
+
configure:3424: checking whether it is safe to define __EXTENSIONS__
|
294
|
+
configure:3442: gcc -c -g -O2 conftest.c >&5
|
295
|
+
configure:3442: $? = 0
|
296
|
+
configure:3449: result: yes
|
297
|
+
configure:3497: checking build system type
|
298
|
+
configure:3511: result: x86_64-apple-darwin18.6.0
|
299
|
+
configure:3531: checking host system type
|
300
|
+
configure:3544: result: x86_64-apple-darwin18.6.0
|
301
|
+
configure:3573: checking size of void*
|
302
|
+
configure:3578: gcc -o conftest -g -O2 -Wall -fvisibility=hidden conftest.c >&5
|
303
|
+
configure:3578: $? = 0
|
304
|
+
configure:3578: ./conftest
|
305
|
+
configure:3578: $? = 0
|
306
|
+
configure:3592: result: 8
|
307
|
+
configure:3636: checking whether _sys_nerr is declared
|
308
|
+
configure:3636: gcc -c -g -O2 -Wall -fvisibility=hidden conftest.c >&5
|
309
|
+
conftest.c:65:10: error: use of undeclared identifier '_sys_nerr'
|
310
|
+
(void) _sys_nerr;
|
311
|
+
^
|
312
|
+
1 error generated.
|
313
|
+
configure:3636: $? = 1
|
314
|
+
configure: failed program was:
|
315
|
+
| /* confdefs.h */
|
316
|
+
| #define PACKAGE_NAME "funchook"
|
317
|
+
| #define PACKAGE_TARNAME "funchook"
|
318
|
+
| #define PACKAGE_VERSION "0.1"
|
319
|
+
| #define PACKAGE_STRING "funchook 0.1"
|
320
|
+
| #define PACKAGE_BUGREPORT ""
|
321
|
+
| #define PACKAGE_URL ""
|
322
|
+
| #define STDC_HEADERS 1
|
323
|
+
| #define HAVE_SYS_TYPES_H 1
|
324
|
+
| #define HAVE_SYS_STAT_H 1
|
325
|
+
| #define HAVE_STDLIB_H 1
|
326
|
+
| #define HAVE_STRING_H 1
|
327
|
+
| #define HAVE_MEMORY_H 1
|
328
|
+
| #define HAVE_STRINGS_H 1
|
329
|
+
| #define HAVE_INTTYPES_H 1
|
330
|
+
| #define HAVE_STDINT_H 1
|
331
|
+
| #define HAVE_UNISTD_H 1
|
332
|
+
| #define __EXTENSIONS__ 1
|
333
|
+
| #define _ALL_SOURCE 1
|
334
|
+
| #define _GNU_SOURCE 1
|
335
|
+
| #define _POSIX_PTHREAD_SEMANTICS 1
|
336
|
+
| #define _TANDEM_SOURCE 1
|
337
|
+
| #define SIZEOF_VOIDP 8
|
338
|
+
| /* end confdefs.h. */
|
339
|
+
| #include <stdio.h>
|
340
|
+
| #ifdef HAVE_SYS_TYPES_H
|
341
|
+
| # include <sys/types.h>
|
342
|
+
| #endif
|
343
|
+
| #ifdef HAVE_SYS_STAT_H
|
344
|
+
| # include <sys/stat.h>
|
345
|
+
| #endif
|
346
|
+
| #ifdef STDC_HEADERS
|
347
|
+
| # include <stdlib.h>
|
348
|
+
| # include <stddef.h>
|
349
|
+
| #else
|
350
|
+
| # ifdef HAVE_STDLIB_H
|
351
|
+
| # include <stdlib.h>
|
352
|
+
| # endif
|
353
|
+
| #endif
|
354
|
+
| #ifdef HAVE_STRING_H
|
355
|
+
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
356
|
+
| # include <memory.h>
|
357
|
+
| # endif
|
358
|
+
| # include <string.h>
|
359
|
+
| #endif
|
360
|
+
| #ifdef HAVE_STRINGS_H
|
361
|
+
| # include <strings.h>
|
362
|
+
| #endif
|
363
|
+
| #ifdef HAVE_INTTYPES_H
|
364
|
+
| # include <inttypes.h>
|
365
|
+
| #endif
|
366
|
+
| #ifdef HAVE_STDINT_H
|
367
|
+
| # include <stdint.h>
|
368
|
+
| #endif
|
369
|
+
| #ifdef HAVE_UNISTD_H
|
370
|
+
| # include <unistd.h>
|
371
|
+
| #endif
|
372
|
+
| int
|
373
|
+
| main ()
|
374
|
+
| {
|
375
|
+
| #ifndef _sys_nerr
|
376
|
+
| #ifdef __cplusplus
|
377
|
+
| (void) _sys_nerr;
|
378
|
+
| #else
|
379
|
+
| (void) _sys_nerr;
|
380
|
+
| #endif
|
381
|
+
| #endif
|
382
|
+
|
|
383
|
+
| ;
|
384
|
+
| return 0;
|
385
|
+
| }
|
386
|
+
configure:3636: result: no
|
387
|
+
configure:3646: checking whether _sys_errlist is declared
|
388
|
+
configure:3646: gcc -c -g -O2 -Wall -fvisibility=hidden conftest.c >&5
|
389
|
+
conftest.c:66:10: error: use of undeclared identifier '_sys_errlist'
|
390
|
+
(void) _sys_errlist;
|
391
|
+
^
|
392
|
+
1 error generated.
|
393
|
+
configure:3646: $? = 1
|
394
|
+
configure: failed program was:
|
395
|
+
| /* confdefs.h */
|
396
|
+
| #define PACKAGE_NAME "funchook"
|
397
|
+
| #define PACKAGE_TARNAME "funchook"
|
398
|
+
| #define PACKAGE_VERSION "0.1"
|
399
|
+
| #define PACKAGE_STRING "funchook 0.1"
|
400
|
+
| #define PACKAGE_BUGREPORT ""
|
401
|
+
| #define PACKAGE_URL ""
|
402
|
+
| #define STDC_HEADERS 1
|
403
|
+
| #define HAVE_SYS_TYPES_H 1
|
404
|
+
| #define HAVE_SYS_STAT_H 1
|
405
|
+
| #define HAVE_STDLIB_H 1
|
406
|
+
| #define HAVE_STRING_H 1
|
407
|
+
| #define HAVE_MEMORY_H 1
|
408
|
+
| #define HAVE_STRINGS_H 1
|
409
|
+
| #define HAVE_INTTYPES_H 1
|
410
|
+
| #define HAVE_STDINT_H 1
|
411
|
+
| #define HAVE_UNISTD_H 1
|
412
|
+
| #define __EXTENSIONS__ 1
|
413
|
+
| #define _ALL_SOURCE 1
|
414
|
+
| #define _GNU_SOURCE 1
|
415
|
+
| #define _POSIX_PTHREAD_SEMANTICS 1
|
416
|
+
| #define _TANDEM_SOURCE 1
|
417
|
+
| #define SIZEOF_VOIDP 8
|
418
|
+
| #define HAVE_DECL__SYS_NERR 0
|
419
|
+
| /* end confdefs.h. */
|
420
|
+
| #include <stdio.h>
|
421
|
+
| #ifdef HAVE_SYS_TYPES_H
|
422
|
+
| # include <sys/types.h>
|
423
|
+
| #endif
|
424
|
+
| #ifdef HAVE_SYS_STAT_H
|
425
|
+
| # include <sys/stat.h>
|
426
|
+
| #endif
|
427
|
+
| #ifdef STDC_HEADERS
|
428
|
+
| # include <stdlib.h>
|
429
|
+
| # include <stddef.h>
|
430
|
+
| #else
|
431
|
+
| # ifdef HAVE_STDLIB_H
|
432
|
+
| # include <stdlib.h>
|
433
|
+
| # endif
|
434
|
+
| #endif
|
435
|
+
| #ifdef HAVE_STRING_H
|
436
|
+
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
437
|
+
| # include <memory.h>
|
438
|
+
| # endif
|
439
|
+
| # include <string.h>
|
440
|
+
| #endif
|
441
|
+
| #ifdef HAVE_STRINGS_H
|
442
|
+
| # include <strings.h>
|
443
|
+
| #endif
|
444
|
+
| #ifdef HAVE_INTTYPES_H
|
445
|
+
| # include <inttypes.h>
|
446
|
+
| #endif
|
447
|
+
| #ifdef HAVE_STDINT_H
|
448
|
+
| # include <stdint.h>
|
449
|
+
| #endif
|
450
|
+
| #ifdef HAVE_UNISTD_H
|
451
|
+
| # include <unistd.h>
|
452
|
+
| #endif
|
453
|
+
| int
|
454
|
+
| main ()
|
455
|
+
| {
|
456
|
+
| #ifndef _sys_errlist
|
457
|
+
| #ifdef __cplusplus
|
458
|
+
| (void) _sys_errlist;
|
459
|
+
| #else
|
460
|
+
| (void) _sys_errlist;
|
461
|
+
| #endif
|
462
|
+
| #endif
|
463
|
+
|
|
464
|
+
| ;
|
465
|
+
| return 0;
|
466
|
+
| }
|
467
|
+
configure:3646: result: no
|
468
|
+
configure:3656: checking whether sys_nerr is declared
|
469
|
+
configure:3656: gcc -c -g -O2 -Wall -fvisibility=hidden conftest.c >&5
|
470
|
+
configure:3656: $? = 0
|
471
|
+
configure:3656: result: yes
|
472
|
+
configure:3666: checking whether sys_errlist is declared
|
473
|
+
configure:3666: gcc -c -g -O2 -Wall -fvisibility=hidden conftest.c >&5
|
474
|
+
configure:3666: $? = 0
|
475
|
+
configure:3666: result: yes
|
476
|
+
configure:3805: creating ./config.status
|
315
477
|
|
316
478
|
## ---------------------- ##
|
317
479
|
## Running config.status. ##
|
@@ -326,18 +488,18 @@ generated by GNU Autoconf 2.69. Invocation command line was
|
|
326
488
|
CONFIG_COMMANDS =
|
327
489
|
$ ./config.status
|
328
490
|
|
329
|
-
on
|
491
|
+
on donalds-mbp-2.lan
|
330
492
|
|
331
|
-
config.status:
|
332
|
-
config.status:
|
333
|
-
config.status:
|
334
|
-
config.status:
|
493
|
+
config.status:825: creating Makefile
|
494
|
+
config.status:825: creating src/Makefile
|
495
|
+
config.status:825: creating test/Makefile
|
496
|
+
config.status:825: creating src/config.h
|
335
497
|
|
336
498
|
## ---------------- ##
|
337
499
|
## Cache variables. ##
|
338
500
|
## ---------------- ##
|
339
501
|
|
340
|
-
ac_cv_build=x86_64-
|
502
|
+
ac_cv_build=x86_64-apple-darwin18.6.0
|
341
503
|
ac_cv_c_compiler_gnu=yes
|
342
504
|
ac_cv_env_CC_set=
|
343
505
|
ac_cv_env_CC_value=
|
@@ -357,8 +519,8 @@ ac_cv_env_host_alias_set=
|
|
357
519
|
ac_cv_env_host_alias_value=
|
358
520
|
ac_cv_env_target_alias_set=
|
359
521
|
ac_cv_env_target_alias_value=
|
360
|
-
ac_cv_have_decl__sys_errlist=
|
361
|
-
ac_cv_have_decl__sys_nerr=
|
522
|
+
ac_cv_have_decl__sys_errlist=no
|
523
|
+
ac_cv_have_decl__sys_nerr=no
|
362
524
|
ac_cv_have_decl_sys_errlist=yes
|
363
525
|
ac_cv_have_decl_sys_nerr=yes
|
364
526
|
ac_cv_header_inttypes_h=yes
|
@@ -372,10 +534,10 @@ ac_cv_header_strings_h=yes
|
|
372
534
|
ac_cv_header_sys_stat_h=yes
|
373
535
|
ac_cv_header_sys_types_h=yes
|
374
536
|
ac_cv_header_unistd_h=yes
|
375
|
-
ac_cv_host=x86_64-
|
537
|
+
ac_cv_host=x86_64-apple-darwin18.6.0
|
376
538
|
ac_cv_objext=o
|
377
|
-
ac_cv_path_EGREP='/bin/grep -E'
|
378
|
-
ac_cv_path_GREP=/bin/grep
|
539
|
+
ac_cv_path_EGREP='/usr/bin/grep -E'
|
540
|
+
ac_cv_path_GREP=/usr/bin/grep
|
379
541
|
ac_cv_prog_CPP='gcc -E'
|
380
542
|
ac_cv_prog_ac_ct_CC=gcc
|
381
543
|
ac_cv_prog_cc_c89=
|
@@ -392,21 +554,21 @@ CFLAGS='-g -O2 -Wall -fvisibility=hidden'
|
|
392
554
|
CPP='gcc -E'
|
393
555
|
CPPFLAGS=''
|
394
556
|
DEFS='-DHAVE_CONFIG_H'
|
395
|
-
ECHO_C=''
|
396
|
-
ECHO_N='
|
557
|
+
ECHO_C='\c'
|
558
|
+
ECHO_N=''
|
397
559
|
ECHO_T=''
|
398
|
-
EGREP='/bin/grep -E'
|
560
|
+
EGREP='/usr/bin/grep -E'
|
399
561
|
EXEEXT=''
|
400
562
|
FUNCHOOK_CPU='x86_64'
|
401
563
|
FUNCHOOK_OS='unix'
|
402
|
-
GREP='/bin/grep'
|
403
|
-
IF_LINUX=''
|
404
|
-
IF_OSX='
|
564
|
+
GREP='/usr/bin/grep'
|
565
|
+
IF_LINUX='#'
|
566
|
+
IF_OSX=''
|
405
567
|
IF_WIN32='#'
|
406
568
|
LDFLAGS=''
|
407
|
-
LIBFUNCHOOK_SO='libfunchook.
|
569
|
+
LIBFUNCHOOK_SO='libfunchook.dylib'
|
408
570
|
LIBOBJS=''
|
409
|
-
LIBS='
|
571
|
+
LIBS=''
|
410
572
|
LINK_SHARED='$(CC) -shared'
|
411
573
|
LTLIBOBJS=''
|
412
574
|
OBJEXT='o'
|
@@ -418,24 +580,24 @@ PACKAGE_URL=''
|
|
418
580
|
PACKAGE_VERSION='0.1'
|
419
581
|
PATH_SEPARATOR=':'
|
420
582
|
PIC_CFLAGS='-fPIC'
|
421
|
-
SHELL='/bin/
|
583
|
+
SHELL='/bin/sh'
|
422
584
|
ac_ct_CC='gcc'
|
423
585
|
bindir='${exec_prefix}/bin'
|
424
|
-
build='x86_64-
|
586
|
+
build='x86_64-apple-darwin18.6.0'
|
425
587
|
build_alias=''
|
426
588
|
build_cpu='x86_64'
|
427
|
-
build_os='
|
428
|
-
build_vendor='
|
589
|
+
build_os='darwin18.6.0'
|
590
|
+
build_vendor='apple'
|
429
591
|
datadir='${datarootdir}'
|
430
592
|
datarootdir='${prefix}/share'
|
431
593
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
432
594
|
dvidir='${docdir}'
|
433
595
|
exec_prefix='${prefix}'
|
434
|
-
host='x86_64-
|
596
|
+
host='x86_64-apple-darwin18.6.0'
|
435
597
|
host_alias=''
|
436
598
|
host_cpu='x86_64'
|
437
|
-
host_os='
|
438
|
-
host_vendor='
|
599
|
+
host_os='darwin18.6.0'
|
600
|
+
host_vendor='apple'
|
439
601
|
htmldir='${docdir}'
|
440
602
|
includedir='${prefix}/include'
|
441
603
|
infodir='${datarootdir}/info'
|
@@ -449,7 +611,6 @@ pdfdir='${docdir}'
|
|
449
611
|
prefix='/usr/local'
|
450
612
|
program_transform_name='s,x,x,'
|
451
613
|
psdir='${docdir}'
|
452
|
-
runstatedir='${localstatedir}/run'
|
453
614
|
sbindir='${exec_prefix}/sbin'
|
454
615
|
sharedstatedir='${prefix}/com'
|
455
616
|
sysconfdir='${prefix}/etc'
|
@@ -482,8 +643,8 @@ target_alias=''
|
|
482
643
|
#define _POSIX_PTHREAD_SEMANTICS 1
|
483
644
|
#define _TANDEM_SOURCE 1
|
484
645
|
#define SIZEOF_VOIDP 8
|
485
|
-
#define HAVE_DECL__SYS_NERR
|
486
|
-
#define HAVE_DECL__SYS_ERRLIST
|
646
|
+
#define HAVE_DECL__SYS_NERR 0
|
647
|
+
#define HAVE_DECL__SYS_ERRLIST 0
|
487
648
|
#define HAVE_DECL_SYS_NERR 1
|
488
649
|
#define HAVE_DECL_SYS_ERRLIST 1
|
489
650
|
|