esp-idf/tools/ci
Jakob Hasse aabdb2c7a1 [system]: Made longjmp save for context switch
* Patched longjmp to be context-switch safe
  longjmp modifies the windowbase and windowstart
  registers, which isn't safe if a context switch
  occurs during the modification. After a context
  switch, windowstart and windowbase will be
  different, leading to a wrongly set windowstart
  bit due to longjmp writing it based on the
  windowbase before the context switch. This
  corrupts the registers at the next window
  overflow reaching that wrongly set bit.

  The solution is to disable interrupts during
  this code. It is only 6 instructions long,
  the impact shouldn't be significant.

  The fix is implemented as a wrapper which
  replaces the original first instructions of
  longjmp which are buggy. Then, it jumps back
  to execute the rest of the original longjmp
  function.

  Added a comparably reliable test to the
  test apps.
2021-07-21 09:48:48 +08:00
..
config [system]: Made longjmp save for context switch 2021-07-21 09:48:48 +08:00
python_packages Merge branch 'bugfix/example_test_socket_issue_4.2' into 'release/v4.2' 2021-06-18 06:04:42 +00:00
apply_bot_filter.py tools: Fix the Python coding style 2018-12-19 11:56:24 +01:00
build_example_dirs.txt ci: support building examples with external components 2018-11-19 12:36:31 +08:00
build_examples.sh remove artifact config in ci. 2020-05-22 19:08:02 +08:00
build_test_apps.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
build_unit_test.sh Add build_unit_test.sh to do find_apps and build_apps to unit_tests 2020-04-30 06:47:49 +00:00
check_artifacts_expire_time.py python: Fix yaml.load warnings 2019-09-13 10:29:38 +00:00
check_build_warnings.py ci: Ignore Python 2 deprecation warning 2020-12-15 13:16:03 +07:00
check_deprecated_kconfigs.py Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename 2020-04-30 18:23:21 +02:00
check_examples_cmake_make.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
check_examples_rom_header.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
check_idf_version.sh CI: get git describe from annotated tags: 2020-09-30 11:32:25 +08:00
check_ldgen_mapping_exceptions.txt components: fix ldgen check errors 2021-06-17 12:36:34 +10:00
check_public_headers_exceptions.txt freemodbus: add extern c block into common header for cpp 2020-04-17 17:56:50 +08:00
check_public_headers.py ci: define ESP_PLATFORM macro during public header check 2020-12-15 08:09:14 +00:00
check_ut_cmake_make.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
check-executable.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
check-line-endings.sh ci: Add line endings check for CRLF in repository 2018-07-12 19:10:37 +08:00
checkout_project_ref.py ci: move auto_test_script to new repo (backport 4.2) 2020-10-24 09:24:38 +08:00
ci_fetch_submodule.py ci: fix fetch submodule error on python3 2019-12-10 09:38:31 +08:00
configure_ci_environment.sh Add -Wstrict-prototypes check in CI 2019-08-01 16:28:56 +07:00
deploy_docs.py tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility 2020-12-08 09:44:31 +11:00
envsubst.py mqtt tests: connect to local broker when running in CI to make the tests more reliable 2019-01-11 15:30:15 +01:00
executable-list.txt ci: move auto_test_script to new repo (backport 4.2) 2020-10-24 09:24:38 +08:00
fix_empty_prototypes.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
get_supported_examples.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
get-full-sources.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
mirror-submodule-update.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
multirun_with_pyenv.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
push_to_github.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
retry_failed.sh ci: move auto_test_script to new repo (backport 4.2) 2020-10-24 09:24:38 +08:00
setup_python.sh ci: using python3 to tun target test 2021-04-26 06:35:42 +00:00
static-analysis-rules.yml ci: update static analysis rules to fail on any new issue zeroing out limits for number of warnings which are tolerated 2020-03-27 18:46:39 +01:00
test_build_system_cmake.sh cmake: set IDF_VERSION_* variables at requirement expansion stage 2021-06-18 15:27:33 +02:00
test_build_system.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
test_configure_ci_environment.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00