Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always check the length before returning the head or tail #4459

Merged
merged 2 commits into from
Apr 23, 2024

Always check the length of RzVector when accessing the tail elem

6e9bbbc
Select commit
Loading
Failed to load commit list.
Merged

Always check the length before returning the head or tail #4459

Always check the length of RzVector when accessing the tail elem
6e9bbbc
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Apr 23, 2024 in 41m 55s

Build Passed

The build passed.

Details

This is a normal build for the fix-pvec-tail-head-check branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has three jobs, running in parallel.

Job ENV OS State
10671.1 PPC64 COMPILER_NAME=gcc CXX=g++ CC=gcc CFLAGS="-DRZ_ASSERT_STDOUT=1" RZ_ARM64_AS=aarch64-linux-gnu-as RZ_ARM32_AS=arm-linux-gnueabi-as RZ_X86_AS=x86_64-linux-gnu-as Linux passed
10671.2 S390X COMPILER_NAME=gcc CXX=g++ CC=gcc CFLAGS="-DRZ_ASSERT_STDOUT=1" RZ_X86_AS=x86_64-w64-mingw32-as Linux passed
10671.3 ARM64 COMPILER_NAME=gcc CXX=g++ CC=gcc CFLAGS="-DRZ_ASSERT_STDOUT=1" RZ_ARM32_AS=arm-linux-gnueabi-as RZ_X86_AS=x86_64-linux-gnu-as RZ_PPC_AS=powerpc64le-linux-gnu-as Linux passed

Build Configuration

Build Option Setting
Language Generic
Operating System Linux (Xenial)
Build Configuration
{
  "language": "generic",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "conditions": "v1",
  "services": [
    "docker"
  ],
  "jobs": {
    "fast_finish": true,
    "include": [
      {
        "os": "linux",
        "name": "PPC64",
        "arch": "ppc64le",
        "dist": "focal",
        "env": [
          {
            "COMPILER_NAME": "gcc",
            "CXX": "g++",
            "CC": "gcc",
            "CFLAGS": "\"-DRZ_ASSERT_STDOUT=1\"",
            "RZ_ARM64_AS": "aarch64-linux-gnu-as",
            "RZ_ARM32_AS": "arm-linux-gnueabi-as",
            "RZ_X86_AS": "x86_64-linux-gnu-as"
          }
        ],
        "addons": {
          "apt": {
            "packages": [
              "binutils-aarch64-linux-gnu",
              "binutils-arm-linux-gnueabi",
              "binutils-x86-64-linux-gnu"
            ]
          }
        }
      },
      {
        "os": "linux",
        "name": "S390X",
        "arch": "s390x",
        "dist": "focal",
        "env": [
          {
            "COMPILER_NAME": "gcc",
            "CXX": "g++",
            "CC": "gcc",
            "CFLAGS": "\"-DRZ_ASSERT_STDOUT=1\"",
            "RZ_X86_AS": "x86_64-w64-mingw32-as"
          }
        ],
        "addons": {
          "apt": {
            "packages": [
              "binutils-mingw-w64-x86-64"
            ]
          }
        }
      },
      {
        "os": "linux",
        "name": "ARM64",
        "arch": "arm64",
        "dist": "focal",
        "env": [
          {
            "COMPILER_NAME": "gcc",
            "CXX": "g++",
            "CC": "gcc",
            "CFLAGS": "\"-DRZ_ASSERT_STDOUT=1\"",
            "RZ_ARM32_AS": "arm-linux-gnueabi-as",
            "RZ_X86_AS": "x86_64-linux-gnu-as",
            "RZ_PPC_AS": "powerpc64le-linux-gnu-as"
          }
        ],
        "addons": {
          "apt": {
            "packages": [
              "binutils-arm-linux-gnueabi",
              "binutils-x86-64-linux-gnu",
              "binutils-powerpc64le-linux-gnu"
            ]
          }
        }
      }
    ]
  },
  "cache": {
    "ccache": true
  },
  "script": [
    "export PR_NAME=$(echo $TRAVIS_PULL_REQUEST_SLUG | cut -d'/' -f1)",
    "pip3 install -U --user meson ninja\npip3 install --user 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'\npip3 install --user requests\n$SHELL travis-script"
  ]
}