<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Greetings,</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm currently trying to debug a problem in the dynamorio system where the isdigit function crashes in elftoolchain while trying to parse symbols from dwarf info:</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><a href="https://github.com/DynamoRIO/dynamorio/issues/6161" id="LPlnkOWALinkPreview">https://github.com/DynamoRIO/dynamorio/issues/6161</a></span></div>
<div class="elementToProof"><br>
</div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">My question is whether these symbols really need the locale functionality of libc's isdigit function or if the symbols in Dwarf are
just standard ascii and could be parsed in a portable way with the simple method mentioned there.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Regards.</span></div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL0R5bmFtb1JJTy9keW5hbW9yaW8vaXNzdWVzLzYxNjE." class="LPBorder203528" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer203528" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border: 1px solid rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer203528" style="position: relative; margin-right: 12px; height: 160px; overflow: hidden;">
<a target="_blank" id="LPImageAnchor203528" href="https://github.com/DynamoRIO/dynamorio/issues/6161"><img id="LPThumbnailImageId203528" alt="" height="160" style="display: none;" src="https://opengraph.githubassets.com/87058afdf67e2f77d78a5ad6075a876f176e4e695369461f8ef6bb131b46286e/DynamoRIO/dynamorio/issues/6161"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle203528" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor203528" href="https://github.com/DynamoRIO/dynamorio/issues/6161" style="text-decoration: none;">CRASH Segfault with DrMemory · Issue #6161 · DynamoRIO/dynamorio</a></div>
<div id="LPDescription203528" style="font-size: 14px; max-height: 100px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden; color: rgb(102, 102, 102);">
Received SIGSEGV at client library pc 0x00007f36e6555fa9 in thread 15974 Base: 0x00007f36ff0c5000 Registers:eax=0x0000000000000033 ebx=0x00007f34e72ed298 ecx=0x0000000000000050 edx=0x00000000000000...</div>
<div id="LPMetadata203528" style="font-size: 14px; font-weight: 400; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; color: rgb(166, 166, 166);">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>