<?xml version="1.0" encoding="utf-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hal="http://hal.archives-ouvertes.fr/" xmlns:gml="http://www.opengis.net/gml/3.3/" xmlns:gmlce="http://www.opengis.net/gml/3.3/ce" version="1.1" xsi:schemaLocation="http://www.tei-c.org/ns/1.0 http://api.archives-ouvertes.fr/documents/aofr-sword.xsd">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>HAL TEI export of hal-03450165</title>
      </titleStmt>
      <publicationStmt>
        <distributor>CCSD</distributor>
        <availability status="restricted">
          <licence target="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0 - Universal</licence>
        </availability>
        <date when="2026-05-23T11:21:40+02:00"/>
      </publicationStmt>
      <sourceDesc>
        <p part="N">HAL API Platform</p>
      </sourceDesc>
    </fileDesc>
  </teiHeader>
  <text>
    <body>
      <listBibl>
        <biblFull>
          <titleStmt>
            <title xml:lang="en">Static Analysis of Endian Portability by Abstract Interpretation</title>
            <author role="aut">
              <persName>
                <forename type="first">David</forename>
                <surname>Delmas</surname>
              </persName>
              <email type="md5">2f304b559cf48568fb3033fbaba341be</email>
              <email type="domain">lip6.fr</email>
              <idno type="idhal" notation="string">david-delmas</idno>
              <idno type="idhal" notation="numeric">18979</idno>
              <idno type="halauthorid" notation="string">29482-18979</idno>
              <idno type="IDREF">https://www.idref.fr/267852851</idno>
              <idno type="RESEARCHERID">http://www.researcherid.com/rid/DUX-4052-2022</idno>
              <idno type="ORCID">https://orcid.org/0000-0002-9236-9870</idno>
              <affiliation ref="#struct-254102"/>
              <affiliation ref="#struct-541707"/>
            </author>
            <author role="aut">
              <persName>
                <forename type="first">Abdelraouf</forename>
                <surname>Ouadjaout</surname>
              </persName>
              <email type="md5">88071e6e43bfa8cdedf09199c9a4736e</email>
              <email type="domain">lip6.fr</email>
              <idno type="idhal" notation="string">aouadjaout</idno>
              <idno type="idhal" notation="numeric">9404</idno>
              <idno type="halauthorid" notation="string">40114-9404</idno>
              <idno type="ORCID">https://orcid.org/0000-0001-7248-5914</idno>
              <idno type="IDREF">https://www.idref.fr/253126290</idno>
              <affiliation ref="#struct-541707"/>
            </author>
            <author role="aut">
              <persName>
                <forename type="first">Antoine</forename>
                <surname>Miné</surname>
              </persName>
              <email type="md5">df246b594d6d3ee8b9b11b824635b973</email>
              <email type="domain">lip6.fr</email>
              <idno type="idhal" notation="string">antoine-mine</idno>
              <idno type="idhal" notation="numeric">2206</idno>
              <idno type="halauthorid" notation="string">2252-2206</idno>
              <idno type="ORCID">https://orcid.org/0000-0002-6375-3179</idno>
              <idno type="IDREF">https://www.idref.fr/111391636</idno>
              <idno type="ISNI">http://isni.org/isni/0000000356394363</idno>
              <idno type="VIAF">https://viaf.org/viaf/188586588</idno>
              <affiliation ref="#struct-541707"/>
              <affiliation ref="#struct-56663"/>
            </author>
            <editor role="depositor">
              <persName>
                <forename>David</forename>
                <surname>Delmas</surname>
              </persName>
              <email type="md5">2f304b559cf48568fb3033fbaba341be</email>
              <email type="domain">lip6.fr</email>
            </editor>
            <funder ref="#projeurop-710795"/>
          </titleStmt>
          <editionStmt>
            <edition n="v1" type="current">
              <date type="whenSubmitted">2021-11-25 19:45:29</date>
              <date type="whenModified">2024-10-30 13:33:37</date>
              <date type="whenReleased">2021-12-14 11:01:32</date>
              <date type="whenProduced">2021-10-17</date>
              <date type="whenEndEmbargoed">2021-11-25</date>
              <ref type="file" target="https://hal.sorbonne-universite.fr/hal-03450165v1/document">
                <date notBefore="2021-11-25"/>
              </ref>
              <ref type="file" subtype="author" n="1" target="https://hal.sorbonne-universite.fr/hal-03450165v1/file/paper_ok.pdf" id="file-3450165-3025162">
                <date notBefore="2021-11-25"/>
              </ref>
              <ref type="externalLink" target="https://zenodo.org/record/5206795/files/artifact.pdf"/>
            </edition>
            <respStmt>
              <resp>contributor</resp>
              <name key="619006">
                <persName>
                  <forename>David</forename>
                  <surname>Delmas</surname>
                </persName>
                <email type="md5">2f304b559cf48568fb3033fbaba341be</email>
                <email type="domain">lip6.fr</email>
              </name>
            </respStmt>
          </editionStmt>
          <publicationStmt>
            <distributor>CCSD</distributor>
            <idno type="halId">hal-03450165</idno>
            <idno type="halUri">https://hal.sorbonne-universite.fr/hal-03450165</idno>
            <idno type="halBibtex">delmas:hal-03450165</idno>
            <idno type="halRefHtml">&lt;i&gt;28th Static Analysis Symposium (SAS 2021)&lt;/i&gt;, Oct 2021, Chicago, Illinois, United States. pp.102-123, &lt;a target="_blank" href="https://dx.doi.org/10.1007/978-3-030-88806-0_5"&gt;&amp;#x27E8;10.1007/978-3-030-88806-0_5&amp;#x27E9;&lt;/a&gt;</idno>
            <idno type="halRef">28th Static Analysis Symposium (SAS 2021), Oct 2021, Chicago, Illinois, United States. pp.102-123, &amp;#x27E8;10.1007/978-3-030-88806-0_5&amp;#x27E9;</idno>
            <availability status="restricted">
              <licence target="https://about.hal.science/hal-authorisation-v1/">HAL Authorization<ref corresp="#file-3450165-3025162"/></licence>
            </availability>
          </publicationStmt>
          <seriesStmt>
            <idno type="stamp" n="CNRS">CNRS - Centre national de la recherche scientifique</idno>
            <idno type="stamp" n="OPENAIRE">OpenAIRE</idno>
            <idno type="stamp" n="LIP6" corresp="SORBONNE-UNIVERSITE">Laboratoire d'Informatique de Paris 6</idno>
            <idno type="stamp" n="SORBONNE-UNIVERSITE">Sorbonne Université</idno>
            <idno type="stamp" n="SORBONNE-UNIV" corresp="SORBONNE-UNIVERSITE">Sorbonne Université 01/01/2018</idno>
            <idno type="stamp" n="SU-SCIENCES" corresp="SORBONNE-UNIVERSITE">Faculté des Sciences de Sorbonne Université</idno>
            <idno type="stamp" n="TEST-HALCNRS">Collection test HAL CNRS</idno>
            <idno type="stamp" n="SU-TI">Sorbonne Université - Texte Intégral</idno>
            <idno type="stamp" n="ALLIANCE-SU"> Alliance Sorbonne Université</idno>
            <idno type="stamp" n="SUPRA_MATHS_INFO">Mathématiques + Informatique</idno>
          </seriesStmt>
          <notesStmt>
            <note type="audience" n="2">International</note>
            <note type="invited" n="0">No</note>
            <note type="popular" n="0">No</note>
            <note type="peer" n="1">Yes</note>
            <note type="proceedings" n="1">Yes</note>
          </notesStmt>
          <sourceDesc>
            <biblStruct>
              <analytic>
                <title xml:lang="en">Static Analysis of Endian Portability by Abstract Interpretation</title>
                <author role="aut">
                  <persName>
                    <forename type="first">David</forename>
                    <surname>Delmas</surname>
                  </persName>
                  <email type="md5">2f304b559cf48568fb3033fbaba341be</email>
                  <email type="domain">lip6.fr</email>
                  <idno type="idhal" notation="string">david-delmas</idno>
                  <idno type="idhal" notation="numeric">18979</idno>
                  <idno type="halauthorid" notation="string">29482-18979</idno>
                  <idno type="IDREF">https://www.idref.fr/267852851</idno>
                  <idno type="RESEARCHERID">http://www.researcherid.com/rid/DUX-4052-2022</idno>
                  <idno type="ORCID">https://orcid.org/0000-0002-9236-9870</idno>
                  <affiliation ref="#struct-254102"/>
                  <affiliation ref="#struct-541707"/>
                </author>
                <author role="aut">
                  <persName>
                    <forename type="first">Abdelraouf</forename>
                    <surname>Ouadjaout</surname>
                  </persName>
                  <email type="md5">88071e6e43bfa8cdedf09199c9a4736e</email>
                  <email type="domain">lip6.fr</email>
                  <idno type="idhal" notation="string">aouadjaout</idno>
                  <idno type="idhal" notation="numeric">9404</idno>
                  <idno type="halauthorid" notation="string">40114-9404</idno>
                  <idno type="ORCID">https://orcid.org/0000-0001-7248-5914</idno>
                  <idno type="IDREF">https://www.idref.fr/253126290</idno>
                  <affiliation ref="#struct-541707"/>
                </author>
                <author role="aut">
                  <persName>
                    <forename type="first">Antoine</forename>
                    <surname>Miné</surname>
                  </persName>
                  <email type="md5">df246b594d6d3ee8b9b11b824635b973</email>
                  <email type="domain">lip6.fr</email>
                  <idno type="idhal" notation="string">antoine-mine</idno>
                  <idno type="idhal" notation="numeric">2206</idno>
                  <idno type="halauthorid" notation="string">2252-2206</idno>
                  <idno type="ORCID">https://orcid.org/0000-0002-6375-3179</idno>
                  <idno type="IDREF">https://www.idref.fr/111391636</idno>
                  <idno type="ISNI">http://isni.org/isni/0000000356394363</idno>
                  <idno type="VIAF">https://viaf.org/viaf/188586588</idno>
                  <affiliation ref="#struct-541707"/>
                  <affiliation ref="#struct-56663"/>
                </author>
              </analytic>
              <monogr>
                <meeting>
                  <title>28th Static Analysis Symposium (SAS 2021)</title>
                  <date type="start">2021-10-17</date>
                  <date type="end">2021-10-19</date>
                  <settlement>Chicago, Illinois</settlement>
                  <country key="US">United States</country>
                </meeting>
                <imprint>
                  <publisher>Springer International Publishing</publisher>
                  <biblScope unit="serie">Lecture Notes in Computer Science</biblScope>
                  <biblScope unit="volume">12913</biblScope>
                  <biblScope unit="pp">102-123</biblScope>
                  <date type="datePub">2021-10-13</date>
                </imprint>
              </monogr>
              <idno type="doi">10.1007/978-3-030-88806-0_5</idno>
              <ref target="https://doi.org/10.5281/zenodo.5206794" type="seeAlso"/>
              <ref target="https://mopsa.lip6.fr" type="seeAlso"/>
              <ref target="https://gitlab.com/mopsa/mopsa-analyzer" type="seeAlso"/>
              <ref type="publisher">https://conf.researchr.org/home/sas-2021</ref>
            </biblStruct>
          </sourceDesc>
          <profileDesc>
            <langUsage>
              <language ident="en">English</language>
            </langUsage>
            <textClass>
              <keywords scheme="author">
                <term xml:lang="en">Industrial Application</term>
                <term xml:lang="en">Endianness</term>
                <term xml:lang="en">Portability</term>
                <term xml:lang="en">C Programming Language</term>
                <term xml:lang="en">Static Analysis</term>
                <term xml:lang="en">Abstract Domains</term>
                <term xml:lang="en">Abstract Interpretation</term>
                <term xml:lang="en">Formal Methods</term>
              </keywords>
              <classCode scheme="halDomain" n="info.info-pl">Computer Science [cs]/Programming Languages [cs.PL]</classCode>
              <classCode scheme="halTypology" n="COMM">Conference papers</classCode>
              <classCode scheme="halOldTypology" n="COMM">Conference papers</classCode>
              <classCode scheme="halTreeTypology" n="COMM">Conference papers</classCode>
            </textClass>
            <abstract xml:lang="en">
              <p>We present a static analysis of endian portability for C programs. Our analysis can infer that a given program, or two syntactically close versions thereof, compute the same outputs when run with the same inputs on platforms with different byte-orders, a.k.a. endiannesses. We target low-level C programs that abuse C pointers and unions, hence rely on implementation-specific behaviors undefined in the C standard. Our method is based on abstract interpretation, and parametric in the choice of a numerical abstract domain. We first present a novel concrete collecting semantics, relating the behaviors of two versions of a program, running on platforms with different endiannesses. We propose a joint memory abstraction, able to infer equivalence relations between littleand big-endian memories. We introduce a novel symbolic predicate domain to infer relations between individual bytes of the variables in the two programs, which has near-linear cost, and the right amount of relationality to express (bitwise) arithmetic properties relevant to endian portability. We implemented a prototype static analyzer, able to scale to large real-world industrial software, with zero false alarms.</p>
            </abstract>
          </profileDesc>
        </biblFull>
      </listBibl>
    </body>
    <back>
      <listOrg type="structures">
        <org type="laboratory" xml:id="struct-254102" status="VALID">
          <orgName>Airbus Operation S.A.S.</orgName>
          <desc>
            <address>
              <addrLine>Site Industriel316 route de Bayonne31060TOULOUSE Cedex 9Midi-Pyrénées</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://www.airbus.com/</ref>
          </desc>
          <listRelation>
            <relation active="#struct-55697" type="direct"/>
          </listRelation>
        </org>
        <org type="researchteam" xml:id="struct-541707" status="VALID">
          <orgName>Algorithmes, Programmes et Résolution</orgName>
          <orgName type="acronym">APR</orgName>
          <date type="start">2018-01-01</date>
          <desc>
            <address>
              <country key="FR"/>
            </address>
          </desc>
          <listRelation>
            <relation active="#struct-541703" type="direct"/>
            <relation active="#struct-413221" type="indirect"/>
            <relation name="UMR7606" active="#struct-441569" type="indirect"/>
          </listRelation>
        </org>
        <org type="laboratory" xml:id="struct-56663" status="VALID">
          <idno type="IdRef">03442945X</idno>
          <idno type="ISNI">0000000119314817</idno>
          <idno type="ROR">https://ror.org/055khg266</idno>
          <idno type="Wikidata">Q1665127</idno>
          <orgName>Institut universitaire de France</orgName>
          <orgName type="acronym">IUF</orgName>
          <desc>
            <address>
              <addrLine>Maison des Universités 103 Boulevard Saint-Michel 75005 Paris</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://iuf.amue.fr/</ref>
          </desc>
          <listRelation>
            <relation active="#struct-301855" type="direct"/>
          </listRelation>
        </org>
        <org type="institution" xml:id="struct-55697" status="VALID">
          <orgName>Airbus [France]</orgName>
          <desc>
            <address>
              <country key="FR"/>
            </address>
            <ref type="url">http://www.airbus.com/company/worldwide-presence/airbus-in-france/</ref>
          </desc>
        </org>
        <org type="laboratory" xml:id="struct-541703" status="VALID">
          <idno type="IdRef">13558292X</idno>
          <idno type="RNSR">199712651U</idno>
          <idno type="ROR">https://ror.org/05krcen59</idno>
          <orgName>LIP6</orgName>
          <date type="start">2018-01-01</date>
          <desc>
            <address>
              <addrLine>4 Place JUSSIEU 75252 PARIS CEDEX 05</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://www.lip6.fr/</ref>
          </desc>
          <listRelation>
            <relation active="#struct-413221" type="direct"/>
            <relation name="UMR7606" active="#struct-441569" type="direct"/>
          </listRelation>
        </org>
        <org type="regroupinstitution" xml:id="struct-413221" status="VALID">
          <idno type="IdRef">221333754</idno>
          <idno type="ROR">https://ror.org/02en5vm52</idno>
          <orgName>Sorbonne Université</orgName>
          <orgName type="acronym">SU</orgName>
          <date type="start">2018-01-01</date>
          <desc>
            <address>
              <addrLine>21 rue de l’École de médecine - 75006 Paris</addrLine>
              <country key="FR"/>
            </address>
            <ref type="url">http://www.sorbonne-universite.fr/</ref>
          </desc>
        </org>
        <org type="regroupinstitution" xml:id="struct-441569" status="VALID">
          <idno type="IdRef">02636817X</idno>
          <idno type="ISNI">0000000122597504</idno>
          <idno type="ROR">https://ror.org/02feahw73</idno>
          <orgName>Centre National de la Recherche Scientifique</orgName>
          <orgName type="acronym">CNRS</orgName>
          <date type="start">1939-10-19</date>
          <desc>
            <address>
              <country key="FR"/>
            </address>
            <ref type="url">https://www.cnrs.fr/</ref>
          </desc>
        </org>
        <org type="institution" xml:id="struct-301855" status="VALID">
          <orgName>Ministère de l'Education nationale, de l’Enseignement supérieur et de la Recherche</orgName>
          <orgName type="acronym">M.E.N.E.S.R.</orgName>
          <desc>
            <address>
              <addrLine>1 rue Descartes - 75231 Paris cedex 05</addrLine>
              <country key="FR"/>
            </address>
          </desc>
        </org>
      </listOrg>
      <listOrg type="projects">
        <org type="europeanProject" xml:id="projeurop-710795" status="VALID">
          <idno type="number">681393</idno>
          <idno type="program">ERC-2015-CoG</idno>
          <idno type="call">ERC-2015-CoG</idno>
          <orgName>MOPSA</orgName>
          <desc>Modular Open Platform for Static Analysis</desc>
          <date type="start">2016-06-01</date>
          <date type="end">2021-11-30</date>
        </org>
      </listOrg>
    </back>
  </text>
</TEI>